fix jasmine

This commit is contained in:
danielgrippi 2012-04-27 16:02:44 -07:00
parent 7fafb0e3b2
commit 562e6641e1

View file

@ -37,9 +37,9 @@ describe("app.forms.Picture", function(){
})
it("adds a new model to the photos", function(){
expect(this.form.$(".photos div").length).toBe(0);
expect(this.form.$(".photos .photo").length).toBe(0);
this.respond()
expect(this.form.$(".photos div").length).toBeGreaterThan(0);
expect(this.form.$(".photos .photo").length).toBeGreaterThan(0);
})
})