start driver support
This commit is contained in:
parent
2afcc53b75
commit
d91e965442
|
@ -0,0 +1,6 @@
|
||||||
|
Before do
|
||||||
|
if ENV['DRIVER']
|
||||||
|
Capybara.current_driver = ENV['DRIVER'].to_sym
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
require 'cuke-pack/drivers'
|
||||||
|
|
||||||
|
Capybara.register_driver :firefox do |app|
|
||||||
|
Capybara::Selenium::Driver.new(app, :browser => :firefox)
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue