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:
parent
2a95252f8a
commit
6f04b04b53
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue