From 4bf596f95f959a12a81ad1525782a6165f36bea8 Mon Sep 17 00:00:00 2001 From: Al Snow Date: Thu, 19 Mar 2015 16:50:45 -0400 Subject: [PATCH] Upgraded 1 gem by rebuilding Gemfile.lock file; Added sleep to try to fix fragile spec --- Gemfile.lock | 2 +- spec/vulnerabilities/xss_spec.rb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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