aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/errors_spec.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-17 08:48:41 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-17 08:48:41 +0000
commite60d21cb129d1de487ebedd6b5e9efb22913130d (patch)
treeaa1f987ff0d92b2d819f39d89afe2d3d6d821679 /spec/integration/errors_spec.rb
parent9ab3cf355db5b8b6c558aea4744c2803fa658176 (diff)
parentbae21e38242aac2c5843bae5ea5fe3b09408a4f9 (diff)
Merge branch 'release/0.5' into develop
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" )