OSDN Git Service

Status code 404 returned when retrieving non existent branch (issue #2922)
authorSebastian Ziebell <sebastian.ziebell@asquera.de>
Fri, 8 Feb 2013 16:04:08 +0000 (17:04 +0100)
committerSebastian Ziebell <sebastian.ziebell@asquera.de>
Fri, 8 Feb 2013 16:04:08 +0000 (17:04 +0100)
commit40e7846f3e25b7f679c9dda719c135fca1ef3d5b
tree6ff1748dc1a545eee2c1f1e45dd0d27e629ebe46
parent2f0a75ab77af430f682d67aa9bb865007d832795
Status code 404 returned when retrieving non existent branch (issue #2922)

Accessing a repository branch that does not exist returns a 404 error instead
of 200 now. Added a test.
lib/api/projects.rb
spec/requests/api/projects_spec.rb