More Rails 4.0 upgrade changes

1. Compared existing branch with empty Rails 4.0 project and
    made changes as needed.
 2. Fix find/first warning.
 3. Fix sqlite timeout issue.
    -- config/database.yml
    -- spec/vulnerabilities/insecure_dor_spec.rb
This commit is contained in:
Al Snow
2014-09-13 13:44:07 -04:00
parent ed5f2796a4
commit 1ea0c2ddbb
28 changed files with 234 additions and 68 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ feature 'insecure direct object reference' do
pending(:if => verifying_fixed?) {
page.status_code.should == 200
page.response_headers['Content-Disposition'].should include('database.yml')
page.response_headers['Content-Length'].should == '709'
page.response_headers['Content-Length'].should == '712'
}
end
@@ -28,4 +28,4 @@ feature 'insecure direct object reference' do
pending(:if => verifying_fixed?) { first('td').text.should == 'Jack Mannino' }
end
end
end