Skip to content

Commit

Permalink
Remove unused test module
Browse files Browse the repository at this point in the history
  • Loading branch information
bmac committed Sep 16, 2015
1 parent dfd05f3 commit aedb2f0
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions packages/ember-data/tests/unit/store/adapter-interop-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1232,29 +1232,3 @@ test("store should reload all records in the background when `shouldBackgroundRe

equal(store.peekRecord('person', 1).get('name'), 'Tom');
});


module("unit/store/adapter_interop - find preload deprecations", {
setup: function() {
var Person = DS.Model.extend({
name: DS.attr('string')
});

var TestAdapter = DS.Adapter.extend({
findRecord: function(store, type, id, snapshot) {
equal(snapshot.attr('name'), 'Tom');
return Ember.RSVP.resolve({ id: id });
}
});

store = createStore({
adapter: TestAdapter,
person: Person
});
},
teardown: function() {
run(function() {
if (store) { store.destroy(); }
});
}
});

0 comments on commit aedb2f0

Please sign in to comment.