aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/errors_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-12-09 13:38:01 +0000
committerLouise Crow <louise.crow@gmail.com>2014-12-09 13:38:01 +0000
commitde5c998d72bac9e13c56b6089169da9647d014b2 (patch)
tree5ebcd0e98997ecb4a95876af872bc06f68ded2b3 /spec/integration/errors_spec.rb
parent89a1999479e1da7ab78e48d23fddb3b14ebbb40e (diff)
parenta0aa5b58e526fcdb7261cebcc46457f7842e82dc (diff)
Merge branch 'sanitize-non-utf8-request-uri' into rails-3-develop
Diffstat (limited to 'spec/integration/errors_spec.rb')
-rw-r--r--spec/integration/errors_spec.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/spec/integration/errors_spec.rb b/spec/integration/errors_spec.rb
index 532576bb9..110626058 100644
--- a/spec/integration/errors_spec.rb
+++ b/spec/integration/errors_spec.rb
@@ -61,14 +61,12 @@ describe "When errors occur" do
response.body.should match("Sorry, we couldn't find that page")
end
- # it 'should handle non utf-8 parameters' do
- # pending 'until we sanitize non utf-8 parameters for Ruby >= 1.9' do
- # get ('/%d3')
- # response.should render_template('general/exception_caught')
- # response.code.should == '404'
- # response.body.should match("Sorry, we couldn't find that page")
- # end
- # end
+ it 'should handle non utf-8 parameters' do
+ get ('/%d3')
+ response.should render_template('general/exception_caught')
+ response.code.should == '404'
+ response.body.should match("Sorry, we couldn't find that page")
+ end
it "should render a 500 for general errors using the general/exception_caught template" do