Upgraded 1 gem by rebuilding Gemfile.lock file; Added sleep to try to fix fragile spec
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ GEM
|
|||||||
gherkin (~> 2.12)
|
gherkin (~> 2.12)
|
||||||
multi_json (>= 1.7.5, < 2.0)
|
multi_json (>= 1.7.5, < 2.0)
|
||||||
multi_test (>= 0.1.1)
|
multi_test (>= 0.1.1)
|
||||||
daemons (1.2.1)
|
daemons (1.2.2)
|
||||||
database_cleaner (1.4.1)
|
database_cleaner (1.4.1)
|
||||||
debug_inspector (0.0.2)
|
debug_inspector (0.0.2)
|
||||||
diff-lcs (1.2.5)
|
diff-lcs (1.2.5)
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ feature 'xss' do
|
|||||||
end
|
end
|
||||||
click_on 'Submit'
|
click_on 'Submit'
|
||||||
|
|
||||||
|
sleep(1)
|
||||||
visit '/'
|
visit '/'
|
||||||
|
|
||||||
pending(:if => verifying_fixed?) { find('form.button_to input.btn.btn-primary').value.should == 'RailsGoat h4x0r3d' }
|
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
|
# might be nice to demonstrate posting cookie contents or somesuch, but
|
||||||
# this at least shows the vulnerability still exists.
|
# this at least shows the vulnerability still exists.
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user