Change response code for unauthorized access from 403 to 401

This commit is contained in:
Garret Alfert
2013-12-08 22:37:07 +01:00
parent 3dd79e28d3
commit ba3f5db598
4 changed files with 29 additions and 29 deletions

View File

@@ -376,13 +376,13 @@ describe "Directories" do
it "does not allow a directory listing of the public root" do
get "/jimmy/public/"
last_response.status.must_equal 403
last_response.status.must_equal 401
end
it "does not allow a directory listing of a sub-directory" do
get "/jimmy/public/bookmarks/"
last_response.status.must_equal 403
last_response.status.must_equal 401
end
end
end