Skip to content

Commit

Permalink
Reverted deprecation warning id
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanmishkin committed Sep 20, 2019
1 parent ce82b07 commit d7e09ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/-ember-data/tests/unit/model-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ module('unit/model - Model', function(hooks) {

record.on('event!', F);

assert.expectDeprecation(/Called event! on person/);
if (DEBUG) {
assert.expectDeprecation(/Called event! on person/);
}

record.trigger('event!');

Expand Down

0 comments on commit d7e09ec

Please sign in to comment.