correct test

This commit is contained in:
Sam Saffron 2015-10-05 16:45:53 +11:00
parent 4ade6138d3
commit 85f1cf7d1b
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ test('triggerNewPostInStream', function() {
const postStream = buildStream(225566); const postStream = buildStream(225566);
const store = postStream.store; const store = postStream.store;
sandbox.stub(postStream, 'appendMore'); sandbox.stub(postStream, 'appendMore').returns(new Ember.RSVP.resolve());
sandbox.stub(postStream, "refresh").returns(new Ember.RSVP.resolve()); sandbox.stub(postStream, "refresh").returns(new Ember.RSVP.resolve());
postStream.triggerNewPostInStream(null); postStream.triggerNewPostInStream(null);