small fix for jasmie that works in chrome and ff
This commit is contained in:
parent
e521ac92f9
commit
f5754d2b71
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ describe("app.views.Post.Wallpaper", function(){
|
||||||
it("has the image as the photo-fill", function(){
|
it("has the image as the photo-fill", function(){
|
||||||
this.view.render()
|
this.view.render()
|
||||||
expect(this.view.$(".photo-fill").data("img-src")).toBe("http://omgimabackground.com/wow.gif") //for the cuke
|
expect(this.view.$(".photo-fill").data("img-src")).toBe("http://omgimabackground.com/wow.gif") //for the cuke
|
||||||
expect(this.view.$(".photo-fill").css("background-image")).toBe("url(http://omgimabackground.com/wow.gif)")
|
expect(this.view.$(".photo-fill").css("background-image")).toMatch('http://omgimabackground.com/wow.gif')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue