Skip to content
Extraits de code Groupes Projets
Valider dc01515a rédigé par Florian Staudacher's avatar Florian Staudacher
Parcourir les fichiers

a little too much copy&paste...

parent cab95384
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,7 +9,7 @@ describe("app.models.Photo", function() { ...@@ -9,7 +9,7 @@ describe("app.models.Photo", function() {
expect(new app.models.Photo().url()).toBe("/photos"); expect(new app.models.Photo().url()).toBe("/photos");
}); });
it("should be /photos/id when it doesn't have an id", function(){ it("should be /photos/id when it has an id", function(){
expect(new app.models.Photo({id: 5}).url()).toBe("/photos/5"); expect(new app.models.Photo({id: 5}).url()).toBe("/photos/5");
}); });
}); });
......
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