From f5754d2b7154d295b39953b771767b078ca5be8c Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg <maxwell@joindiaspora.com> Date: Tue, 3 Apr 2012 17:26:13 -0700 Subject: [PATCH] small fix for jasmie that works in chrome and ff --- spec/javascripts/app/views/post/wallpaper_view_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/javascripts/app/views/post/wallpaper_view_spec.js b/spec/javascripts/app/views/post/wallpaper_view_spec.js index 14fbb128ce..77c88b8520 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")).toMatch('http://omgimabackground.com/wow.gif') }) }) }) -- GitLab