Skip to content

Commit

Permalink
Changed how to determine if mockjax should be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
begedin committed Aug 24, 2015
1 parent 8df4a5e commit 18125ae
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 18125ae

Please sign in to comment.