From ae22dcc2744d268129d33d322b93975b9c0b1eae Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Mon, 14 Mar 2011 12:37:05 -0700 Subject: [PATCH] Fix jasmine spec --- spec/javascripts/publisher-spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/javascripts/publisher-spec.js b/spec/javascripts/publisher-spec.js index 16e8921b4..c1ce93c9e 100644 --- a/spec/javascripts/publisher-spec.js +++ b/spec/javascripts/publisher-spec.js @@ -27,7 +27,7 @@ describe("Publisher", function() { }); it('gets called on initialize', function(){ - spyOn(Publisher, 'bindPublicIcon'); + spyOn(Publisher, 'bindPublicIcon'); Publisher.initialize(); expect(Publisher.bindPublicIcon).toHaveBeenCalled(); }); @@ -55,7 +55,7 @@ describe("Publisher", function() { }); it('gets called on initialize', function(){ - spyOn(Publisher, 'bindServiceIcons'); + spyOn(Publisher, 'bindServiceIcons'); Publisher.initialize(); expect(Publisher.bindServiceIcons).toHaveBeenCalled(); }); @@ -141,8 +141,8 @@ describe("Publisher", function() { beforeEach(function(){ spec.loadFixture('aspects_index_prefill'); }); - it("returns the status_message_fake_message textarea", function(){ - expect(Publisher.input()[0].id).toBe('status_message_fake_message'); + it("returns the status_message_fake_text textarea", function(){ + expect(Publisher.input()[0].id).toBe('status_message_fake_text'); expect(Publisher.input().length).toBe(1); }); });