diff --git a/spec/javascripts/app/models/photo_spec.js b/spec/javascripts/app/models/photo_spec.js index 26a8fa661d611fb8033b9e975040dbc12b07ffd3..d1ccd8703869ea31b47a95bc71b8c91766d104c1 100644 --- a/spec/javascripts/app/models/photo_spec.js +++ b/spec/javascripts/app/models/photo_spec.js @@ -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"); }); });