Skip to content

Commit

Permalink
Fix another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed Apr 6, 2018
1 parent 2146ed5 commit bbd4da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/services/ember-cli-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ test('compileHbs can include backticks', function(assert) {
var template = "`stuff`";
var service = this.subject();
var result = service.compileHbs(template, 'some-path');
var mungedCode = "\\`stuff\\`";

assert.ok(result.indexOf(template) > -1, 'munged template included');
assert.ok(result.indexOf(mungedCode) > -1, 'munged template included');
});

test("buildHtml works when testing not enabled", function(assert) {
Expand Down

0 comments on commit bbd4da6

Please sign in to comment.