aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/errors_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/errors_spec.rb')
-rw-r--r--spec/integration/errors_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/integration/errors_spec.rb b/spec/integration/errors_spec.rb
index 8084bb35a..705c1fff8 100644
--- a/spec/integration/errors_spec.rb
+++ b/spec/integration/errors_spec.rb
@@ -48,6 +48,8 @@ describe "When rendering errors" do
it "should render a 403 for attempts at directory listing for attachments" do
get("/request/5/response/4/attach/html/3/" )
response.code.should == "403"
+ get("/request/5/response/4/attach/html" )
+ response.code.should == "403"
end
it "should render a 404 for non-existent 'details' pages for requests" do
get("/details/request/wobble" )