Upgrade Notifications to fix deprecations and use store

This commit is contained in:
Robin Ward
2015-05-05 13:44:19 -04:00
parent aab9706b7a
commit 0b65c88003
22 changed files with 133 additions and 323 deletions

View File

@ -36,7 +36,7 @@ test('updating simultaneously', function() {
expect(2);
const store = createStore();
store.find('widget', 123).then(function(widget) {
return store.find('widget', 123).then(function(widget) {
const firstPromise = widget.update({ name: 'new name' });
const secondPromise = widget.update({ name: 'new name' });
@ -90,7 +90,7 @@ test('creating simultaneously', function() {
test('destroyRecord', function() {
const store = createStore();
store.find('widget', 123).then(function(widget) {
return store.find('widget', 123).then(function(widget) {
widget.destroyRecord().then(function(result) {
ok(result);
});