fix(specs): remove unnecessary trigger

This commit is contained in:
Evan Morikawa 2015-03-31 17:20:00 -07:00
parent d15b5080fb
commit 33a33eedca
2 changed files with 3 additions and 3 deletions

View file

@ -198,9 +198,9 @@ MessageList = React.createClass
next = @state.messages[idx + 1]
nextCollapsed = next and !@state.messagesExpandedState[next.id]
if collapsed and nextCollapsed
components.push <hr className="message-item-divider collapsed" />
components.push <hr key={idx} className="message-item-divider collapsed" />
else
components.push <hr className="message-item-divider" />
components.push <hr key={idx} className="message-item-divider" />
components

View file

@ -58,7 +58,7 @@ testModelInstanceB = new TestModel(id: 'BBB')
describe "DatabaseStore", ->
beforeEach ->
spyOn(ModelQuery.prototype, 'where').andCallThrough()
spyOn(DatabaseStore, 'trigger').andCallThrough()
spyOn(DatabaseStore, 'trigger')
@performed = []
@transactionCount = 0