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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user