diff --git a/Gemfile.lock b/Gemfile.lock index 13af7a5..1ae0424 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -78,7 +78,7 @@ GEM gherkin (~> 2.12) multi_json (>= 1.7.5, < 2.0) multi_test (>= 0.1.1) - daemons (1.2.1) + daemons (1.2.2) database_cleaner (1.4.1) debug_inspector (0.0.2) diff-lcs (1.2.5) diff --git a/spec/vulnerabilities/xss_spec.rb b/spec/vulnerabilities/xss_spec.rb index f96148d..196211a 100644 --- a/spec/vulnerabilities/xss_spec.rb +++ b/spec/vulnerabilities/xss_spec.rb @@ -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 \ No newline at end of file +end