16 17 18 19 20 21
# File 'lib/swinger.rb', line 16 def self.using_driver(driver) Capybara.current_driver = driver yield ensure Capybara.use_default_driver end