persistent_selenium/lib/persistent_selenium/cucumber.rb
2015-01-09 15:05:05 -05:00

9 lines
207 B
Ruby

require_relative './driver'
Before do
if Capybara.current_driver == :persistent_selenium
Capybara.server_port ||= '3001'
Capybara.app_host ||= "http://localhost:#{Capybara.server_port}"
end
end