fix jasmine
This commit is contained in:
parent
7fafb0e3b2
commit
562e6641e1
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue