Skip to content

Commit b30ad1e

Browse files
committed
Merge pull request #11363 from rwjblue/fix-concat-tests
[BUGFIX beta] Use layout properly for `{{concat}}` tests.
2 parents 55f02b1 + 6305406 commit b30ad1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ember-htmlbars/tests/helpers/concat-test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ QUnit.test('concats provided params', function() {
2424
component = Component.create({
2525
container,
2626

27-
template: compile(`{{concat "foo" " " "bar" " " "baz"}}`)
27+
layout: compile(`{{concat "foo" " " "bar" " " "baz"}}`)
2828
});
2929

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

42-
template: compile(`{{concat firstParam secondParam}}`)
42+
layout: compile(`{{concat firstParam secondParam}}`)
4343
});
4444

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

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

7878
runAppend(component);

0 commit comments

Comments
 (0)