Based on cane gem, removed tab indents and trailing blanks

This commit is contained in:
Al Snow
2015-09-14 10:11:03 -04:00
parent 6bacc8522c
commit b6d766329c
7 changed files with 50 additions and 50 deletions
+4 -4
View File
@@ -18,13 +18,13 @@ feature 'xss' do
fill_in 'user_password_confirmation', :with => @normal_user.clear_password
end
click_on 'Submit'
sleep(1)
visit "/users/#{@normal_user.user_id}/account_settings"
pending(:if => verifying_fixed?) { find('#submit_button').value.should == 'RailsGoat h4x0r3d' }
# might be nice to demonstrate posting cookie contents or somesuch, but
# this at least shows the vulnerability still exists.
end