Upgraded rspec-rails from 2.99.0 to 3.4.0

This commit is contained in:
Al Snow
2016-04-14 17:34:27 -04:00
parent 8567df32e1
commit 0cc4980c46
15 changed files with 70 additions and 59 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ feature 'xss' do
visit "/users/#{@normal_user.user_id}/account_settings"
pending(:if => verifying_fixed?) { find('#submit_button').value.should == 'RailsGoat h4x0r3d' }
pending if verifying_fixed?
expect(find('#submit_button').value).to eq('RailsGoat h4x0r3d')
# might be nice to demonstrate posting cookie contents or somesuch, but
# this at least shows the vulnerability still exists.