make wallpaper-post spec pass

This commit is contained in:
Florian Staudacher 2012-04-01 17:43:33 +02:00
parent a5a6378eb0
commit 2a4bc32eb5

View file

@ -8,7 +8,7 @@ describe("app.views.Post.Wallpaper", function(){
it("has the image as the photo-fill", function(){
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").css("background-image")).toBe("url(http://omgimabackground.com/wow.gif)")
expect(this.view.$(".photo-fill").css("background-image")).toBe('url("http://omgimabackground.com/wow.gif")')
})
})
})
})