aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/errors_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-13 10:46:30 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-13 10:46:30 +0000
commit4808347cb65556756d38b60b25fa9761f92c4513 (patch)
tree3ecc31a6ba1c86dda177899b64d001eaa1d42d2e /spec/integration/errors_spec.rb
parentec7a0c92f2b09c6b4d4d747d0b492bf9bd45c8ac (diff)
Further refinement for issue #340
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" )