From 2a4bc32eb5a24d4dcacd4c52175497405898ef92 Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Sun, 1 Apr 2012 17:43:33 +0200 Subject: [PATCH] make wallpaper-post spec pass --- spec/javascripts/app/views/post/wallpaper_view_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/javascripts/app/views/post/wallpaper_view_spec.js b/spec/javascripts/app/views/post/wallpaper_view_spec.js index afa84f390..ba9c3a832 100644 --- a/spec/javascripts/app/views/post/wallpaper_view_spec.js +++ b/spec/javascripts/app/views/post/wallpaper_view_spec.js @@ -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")') }) }) -}) \ No newline at end of file +})