Skip to content

Commit

Permalink
[BUGFIX beta] Use layout properly for {{concat}} tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Jun 7, 2015
1 parent 55f02b1 commit 6305406
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ember-htmlbars/tests/helpers/concat-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ QUnit.test('concats provided params', function() {
component = Component.create({
container,

template: compile(`{{concat "foo" " " "bar" " " "baz"}}`)
layout: compile(`{{concat "foo" " " "bar" " " "baz"}}`)
});

runAppend(component);
Expand All @@ -39,7 +39,7 @@ QUnit.test('updates for bound params', function() {
firstParam: 'one',
secondParam: 'two',

template: compile(`{{concat firstParam secondParam}}`)
layout: compile(`{{concat firstParam secondParam}}`)
});

runAppend(component);
Expand Down Expand Up @@ -72,7 +72,7 @@ QUnit.test('can be used as a sub-expression', function() {
firstParam: 'one',
secondParam: 'two',

template: compile(`{{#if (x-eq (concat firstParam secondParam) "onetwo")}}Truthy!{{else}}False{{/if}}`)
layout: compile(`{{#if (x-eq (concat firstParam secondParam) "onetwo")}}Truthy!{{else}}False{{/if}}`)
});

runAppend(component);
Expand Down

0 comments on commit 6305406

Please sign in to comment.