Rebuilt Gemfile.lock file; Changed "@@" (class var) to "$" (global var) in spec/support/capybara_shared.rb

This commit is contained in:
Al Snow
2013-10-28 19:45:42 -04:00
parent 842e09d3d4
commit 98ccf0bd41
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -5,12 +5,12 @@
# However, RailsGoat maintainers need the Capybara features to pass to indicate
# changes to the site have not inadvertently removed or fixed any vulnerabilities
# since the whole point is to provide a site for a developer to fix.
@@displayed_spec_notice = false
$displayed_spec_notice = false
def verifying_fixed?
maintainer_env_name = 'RAILSGOAT_MAINTAINER'
result = !ENV[maintainer_env_name]
if !@@displayed_spec_notice && result
if !$displayed_spec_notice && result
puts <<-NOTICE
******************************************************************************
@@ -30,7 +30,7 @@ def verifying_fixed?
a 'pending' state.
******************************************************************************
NOTICE
@@displayed_spec_notice = true
$displayed_spec_notice = true
end
result
end