Skip to content

Commit

Permalink
Merge pull request #16794 from kongregate/fix-instance-initializer-te…
Browse files Browse the repository at this point in the history
…st-blueprints

[BUGFIX] Fix instance-initializer-test blueprint for RFC232
  • Loading branch information
rwjblue committed Jul 9, 2018
2 parents 56bc322 + 471efd2 commit 2bb2750
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Expand Up @@ -2,12 +2,9 @@ import Application from '@ember/application';

import { initialize } from '<%= dasherizedModulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
<% if (destroyAppExists) { %>import destroyApp from '../../helpers/destroy-app';<% } else { %>import { run } from '@ember/runloop';<% } %>

module('<%= friendlyTestName %>', function(hooks) {
setupTest(hooks);

hooks.beforeEach(function() {
this.TestApplication = Application.extend();
this.TestApplication.instanceInitializer({
Expand Down
3 changes: 0 additions & 3 deletions node-tests/fixtures/instance-initializer-test/rfc232.js
Expand Up @@ -2,12 +2,9 @@ import Application from '@ember/application';

import { initialize } from 'my-app/instance-initializers/foo';
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { run } from '@ember/runloop';

module('Unit | Instance Initializer | foo', function(hooks) {
setupTest(hooks);

hooks.beforeEach(function() {
this.TestApplication = Application.extend();
this.TestApplication.instanceInitializer({
Expand Down

0 comments on commit 2bb2750

Please sign in to comment.