Skip to content

Commit

Permalink
Fix failing node test
Browse files Browse the repository at this point in the history
  • Loading branch information
tilde-engineering authored and rwjblue committed May 14, 2015
1 parent 7194a5e commit 59011e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/node/template-compiler-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ test('allows enabling of features', function() {
templateCompiler._Ember.FEATURES['ember-htmlbars-component-generation'] = true;

templateOutput = templateCompiler.precompile('<some-thing></some-thing>');
ok(templateOutput.indexOf('["component","some-thing",[],0]') > -1, 'component generation can be enabled');
ok(templateOutput.indexOf('["component","<some-thing>",[],0]') > -1, 'component generation can be enabled');
} else {
ok(true, 'cannot test features in feature stripped build');
}
Expand Down

0 comments on commit 59011e8

Please sign in to comment.