Skip to content

Commit

Permalink
Merge pull request #125 from begedin/fix-mockjax-loading-in-development
Browse files Browse the repository at this point in the history
Changed how to determine if mockjax should be loaded
  • Loading branch information
danielspaniel committed Aug 24, 2015
2 parents 8df4a5e + 18125ae commit b689c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
included: function(app) {
this._super.included(app);

if (app.tests) {
if (app.env === 'test') {
app.import(app.bowerDirectory + '/jquery-mockjax/dist/jquery.mockjax.js');
}
}
Expand Down

0 comments on commit b689c28

Please sign in to comment.