Skip to content

Commit

Permalink
[CHORE] fix test observers to match ember canary changes (#6337)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorT authored Aug 16, 2019
1 parent 2dff029 commit e7e492b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/-ember-data/tests/unit/model/rollback-attributes-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,7 @@ module('unit/model/rollbackAttributes - model.rollbackAttributes()', function(ho
});

test("invalid record's attributes can be rollbacked", async function(assert) {
if (gte('3.13.0')) {
assert.expect(14);
} else {
assert.expect(13);
}
assert.expect(13);

class Dog extends Model {
@attr() name;
Expand Down Expand Up @@ -443,11 +439,7 @@ module('unit/model/rollbackAttributes - model.rollbackAttributes()', function(ho
});

test(`invalid record's attributes rolled back to correct state after set`, async function(assert) {
if (gte('3.13.0')) {
assert.expect(15);
} else {
assert.expect(14);
}
assert.expect(14);

class Dog extends Model {
@attr() name;
Expand Down

0 comments on commit e7e492b

Please sign in to comment.