a little too much copy&paste...

This commit is contained in:
Florian Staudacher 2012-02-18 18:59:52 +01:00
parent cab953848f
commit dc01515aac

View file

@ -9,7 +9,7 @@ describe("app.models.Photo", function() {
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");
});
});