Fix spelling in conversations inbox view spec

This commit is contained in:
Steffen van Bergerem 2016-09-29 23:40:43 +02:00
parent e424896822
commit b1a76cac86
No known key found for this signature in database
GPG key ID: 315C9787D548DC6B

View file

@ -12,7 +12,7 @@ describe("app.views.ConversationsInbox", function() {
expect(app.views.ConversationsForm.prototype.initialize).toHaveBeenCalled(); expect(app.views.ConversationsForm.prototype.initialize).toHaveBeenCalled();
}); });
it("call setupConversation", function() { it("calls setupConversation", function() {
spyOn(app.views.ConversationsInbox.prototype, "setupConversation"); spyOn(app.views.ConversationsInbox.prototype, "setupConversation");
new app.views.ConversationsInbox(); new app.views.ConversationsInbox();
expect(app.views.ConversationsInbox.prototype.setupConversation).toHaveBeenCalled(); expect(app.views.ConversationsInbox.prototype.setupConversation).toHaveBeenCalled();