Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] fix test observers to match ember canary changes #6337

Merged
merged 1 commit into from
Aug 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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