Merge pull request #64 from jasnow/master

Rebuilt Gemfile.lock file. Fixed test by using "$" instead of "@@"
This commit is contained in:
mccabe615
2013-11-12 12:06:47 -08:00
2 changed files with 10 additions and 10 deletions
+4 -4
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
@@ -80,4 +80,4 @@ Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, phantomjs_logger: WarningSuppressor)
end
Capybara.javascript_driver = :poltergeist
Capybara.javascript_driver = :poltergeist