Skip to content

Commit

Permalink
The initializer API has changed as of 2.X, the blueprints need to be …
Browse files Browse the repository at this point in the history
…updated to address those changes. See: emberjs/ember.js#10179
  • Loading branch information
nathanhammond committed Sep 13, 2015
1 parent 5610d35 commit 1339af7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ember from 'ember';
import { initialize } from '<%= dependencyDepth %>/initializers/<%= dasherizedModuleName %>';
import <%= classifiedModuleName %>Initializer from '<%= dependencyDepth %>/initializers/<%= dasherizedModuleName %>';
import { module, test } from 'qunit';

var registry, application;
Expand All @@ -16,7 +16,7 @@ module('<%= friendlyTestName %>', {

// Replace this with your real tests.
test('it works', function(assert) {
initialize(registry, application);
<%= classifiedModuleName %>Initializer.initialize(registry, application);

// you would normally confirm the results of the initializer here
assert.ok(true);
Expand Down

0 comments on commit 1339af7

Please sign in to comment.