Skip to content

Commit

Permalink
fixed - needs to be loading in development so test runner finds facto…
Browse files Browse the repository at this point in the history
…ry guy
  • Loading branch information
danielspaniel committed Nov 5, 2016
1 parent b246dbc commit f453e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ module.exports = {
includeFactoryGuyFiles: function() {
var includeFiles = false;

if (this.app.env === 'test') {
// development always needs the files, since the test runner can be
// run in development with /tests url
if (this.app.env.match(/test|development/)) {
includeFiles = true;
} else {
includeFiles = this.factoryGuyEnabled;
Expand Down

0 comments on commit f453e9f

Please sign in to comment.