1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Correct reference to wrong block variable name

This commit is contained in:
Thomas Holmes 2013-07-20 15:27:28 -04:00
parent 2a95252f8a
commit 6f04b04b53

View file

@ -17,8 +17,8 @@ RSpec.configure do |config|
end
config.before do |example|
if self.class.include?(Capybara::DSL)
Capybara.current_driver = Capybara.javascript_driver if ex.metadata[:js]
ampleCapybara.current_driver = ex.metadata[:driver] if ex.metadata[:driver]
Capybara.current_driver = Capybara.javascript_driver if example.metadata[:js]
ampleCapybara.current_driver = example.metadata[:driver] if example.metadata[:driver]
end
end
end