Upgraded 1 gem by rebuilding Gemfile.lock file; Added sleep to try to fix fragile spec

This commit is contained in:
Al Snow
2015-03-19 16:50:45 -04:00
parent fa3a338838
commit 4bf596f95f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ feature 'xss' do
end
click_on 'Submit'
sleep(1)
visit '/'
pending(:if => verifying_fixed?) { find('form.button_to input.btn.btn-primary').value.should == 'RailsGoat h4x0r3d' }
@@ -26,4 +27,4 @@ feature 'xss' do
# might be nice to demonstrate posting cookie contents or somesuch, but
# this at least shows the vulnerability still exists.
end
end
end