diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-12-09 12:53:07 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-09 12:53:07 +0000 |
commit | 89a1999479e1da7ab78e48d23fddb3b14ebbb40e (patch) | |
tree | 46b3e7a782a397524a0b1dc62d7403371e142ebc /spec/integration/errors_spec.rb | |
parent | 8d633f37bed60871fc59312dd436fb3ff7b6e37c (diff) | |
parent | 9f5f602fbb38a32619dad93464c1ab263b1a66d7 (diff) |
Merge branch 'owasp-fixes' into rails-3-develop
Diffstat (limited to 'spec/integration/errors_spec.rb')
-rw-r--r-- | spec/integration/errors_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/integration/errors_spec.rb b/spec/integration/errors_spec.rb index 4fa12fb21..532576bb9 100644 --- a/spec/integration/errors_spec.rb +++ b/spec/integration/errors_spec.rb @@ -59,7 +59,6 @@ describe "When errors occur" do response.should render_template('general/exception_caught') response.code.should == '404' response.body.should match("Sorry, we couldn't find that page") - response.body.should match(%Q(invalid value for Integer)) end # it 'should handle non utf-8 parameters' do @@ -76,7 +75,6 @@ describe "When errors occur" do InfoRequest.stub!(:find_by_url_title!).and_raise("An example error") get("/request/example") response.should render_template('general/exception_caught') - response.body.should match('An example error') response.code.should == "500" end @@ -111,7 +109,6 @@ describe "When errors occur" do get("/es/request/example") response.should render_template('general/exception_caught') response.body.should match('Lo sentimos, hubo un problema procesando esta página') - response.body.should match('An example error') end it "should render a 403 with text body for attempts at directory listing for attachments" do |