Sha256: 246b99fa07e0ebc8511b22ea18e180e0b7e1fe48d84e2f9abf6cdba45465682f
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
import { compile } from '../../index'; import { moduleFor, AbstractTestCase } from 'internal-test-helpers'; moduleFor( 'ember-template-compiler: deprecate-render', class extends AbstractTestCase { ['@test Using `{{render` without a model provides a deprecation']() { let expectedMessage = `Please refactor \`{{render "foo-bar"}}\` to a component and` + ` invoke via \`{{foo-bar}}\`. ('baz/foo-bar' @ L1:C0) `; expectDeprecation(() => { compile('{{render "foo-bar"}}', { moduleName: 'baz/foo-bar', }); }, expectedMessage); } } );
Version data entries
2 entries across 2 versions & 1 rubygems