Skip to content

Commit

Permalink
Default the template helper test blueprint to integration style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Jackson committed Feb 27, 2017
1 parent 915062c commit c98e402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blueprints/helper-test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = useTestFrameworkDetector({
},

locals: function(options) {
var testType = options.testType || 'unit';
var testType = options.testType || 'integration';
var testName = testType === 'integration' ? 'Integration' : 'Unit';
var friendlyTestName = testInfo.name(options.entity.name, testName, 'Helper');

Expand Down
2 changes: 1 addition & 1 deletion node-tests/blueprints/helper-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Acceptance: ember generate and destroy helper', function() {
"}\n\n" +
"export default Ember.Helper.helper(fooBarBaz);");

expect(_file('tests/unit/helpers/foo/bar-baz-test.js'))
expect(_file('tests/integration/helpers/foo/bar-baz-test.js'))
.to.contain("import { fooBarBaz } from 'my-app/helpers/foo/bar-baz';");
}));
});
Expand Down

0 comments on commit c98e402

Please sign in to comment.