@@ -6,7 +6,7 @@ import { action } from '@ember/object';
66moduleFor (
77 'Helpers test: default helper manager' ,
88 class extends RenderingTestCase {
9- '@feature(EMBER_DEFAULT_HELPER_MANAGER) plain functions can be used as helpers' ( ) {
9+ '@test plain functions can be used as helpers' ( ) {
1010 function hello ( ) {
1111 return 'hello' ;
1212 }
@@ -20,9 +20,7 @@ moduleFor(
2020 this . assertText ( 'hello' ) ;
2121 }
2222
23- '@feature(EMBER_DEFAULT_HELPER_MANAGER) positional arguments are passed as function arguments' (
24- assert
25- ) {
23+ '@test positional arguments are passed as function arguments' ( assert ) {
2624 function hello ( ...args ) {
2725 assert . deepEqual ( args , [ 1 , 2 , 3 ] ) ;
2826 return args . length ;
@@ -34,7 +32,7 @@ moduleFor(
3432 this . assertText ( '3' ) ;
3533 }
3634
37- '@feature(EMBER_DEFAULT_HELPER_MANAGER) tracks changes to positional arguments' ( assert ) {
35+ '@test tracks changes to positional arguments' ( assert ) {
3836 let count = 0 ;
3937
4038 function hello ( firstArgument ) {
@@ -60,9 +58,7 @@ moduleFor(
6058 this . assertText ( '456' ) ;
6159 }
6260
63- '@feature(EMBER_DEFAULT_HELPER_MANAGER) named arguments are passed as the last function argument' (
64- assert
65- ) {
61+ '@test named arguments are passed as the last function argument' ( assert ) {
6662 function hello ( positional , named ) {
6763 assert . strictEqual ( positional , 'foo' ) ;
6864
@@ -75,7 +71,7 @@ moduleFor(
7571 this . assertText ( 'bar' ) ;
7672 }
7773
78- '@feature(EMBER_DEFAULT_HELPER_MANAGER) tracks changes to named arguments' ( assert ) {
74+ '@test tracks changes to named arguments' ( assert ) {
7975 let count = 0 ;
8076
8177 function hello ( named ) {
@@ -101,7 +97,7 @@ moduleFor(
10197 this . assertText ( '456' ) ;
10298 }
10399
104- '@feature(EMBER_DEFAULT_HELPER_MANAGER) plain functions passed as component arguments can be used as helpers' ( ) {
100+ '@test plain functions passed as component arguments can be used as helpers' ( ) {
105101 function hello ( ) {
106102 return 'hello' ;
107103 }
@@ -114,7 +110,7 @@ moduleFor(
114110 this . assertText ( 'hello' ) ;
115111 }
116112
117- '@feature(EMBER_DEFAULT_HELPER_MANAGER) plain functions stored as class properties can be used as helpers' ( ) {
113+ '@test plain functions stored as class properties can be used as helpers' ( ) {
118114 this . registerComponent ( 'foo-bar' , {
119115 template : '{{(this.hello)}}' ,
120116 ComponentClass : class extends Component {
@@ -128,7 +124,7 @@ moduleFor(
128124 this . assertText ( 'hello' ) ;
129125 }
130126
131- '@feature(EMBER_DEFAULT_HELPER_MANAGER) class methods can be used as helpers' ( ) {
127+ '@test class methods can be used as helpers' ( ) {
132128 this . registerComponent ( 'foo-bar' , {
133129 template : '{{(this.hello)}}' ,
134130 ComponentClass : class extends Component {
@@ -142,7 +138,7 @@ moduleFor(
142138 this . assertText ( 'hello' ) ;
143139 }
144140
145- '@feature(EMBER_DEFAULT_HELPER_MANAGER) actions can be used as helpers' ( ) {
141+ '@test actions can be used as helpers' ( ) {
146142 this . registerComponent ( 'foo-bar' , {
147143 template : '{{(this.hello)}}' ,
148144 ComponentClass : class extends Component {
0 commit comments