a little too much copy&paste...
This commit is contained in:
parent
cab953848f
commit
dc01515aac
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue