Skip to content

Commit

Permalink
Merge pull request #19 from switchfly/rwjblue-patch-1
Browse files Browse the repository at this point in the history
Fix `afterTeardown` callback removal.
  • Loading branch information
rwjblue committed Feb 21, 2015
2 parents b20843c + e16be83 commit 8beb27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ember-test-helpers/test-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default Klass.extend({

if (this.callbacks.afterTeardown) {
this.teardownSteps.push( this.callbacks.afterTeardown );
delete this.callbacks.beforeTeardown;
delete this.callbacks.afterTeardown;
}
},

Expand Down

0 comments on commit 8beb27f

Please sign in to comment.