Fix jasmine spec

This commit is contained in:
Raphael Sofaer 2011-03-14 12:37:05 -07:00
parent b14ac9606f
commit ae22dcc274

View file

@ -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);
});
});