Merge pull request #3091 from Raven24/fix-wp-spec
make app.views.Post.Wallpaper spec pass
This commit is contained in:
commit
9573bb55ee
1 changed files with 2 additions and 2 deletions
|
|
@ -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")')
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue