Skip to content
Extraits de code Groupes Projets
Valider f5754d2b rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

small fix for jasmie that works in chrome and ff

parent e521ac92
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,7 +8,7 @@ describe("app.views.Post.Wallpaper", function(){ ...@@ -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')
}) })
}) })
}) })
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter