Sha256: e4edf2efcf639373dc6f85cf8672a605548264daf9208803784eedae49968c5c

Contents?: true

Size: 495 Bytes

Versions: 23

Compression:

Stored size: 495 Bytes

Contents

require 'capybara'
require 'capybara/dsl'

World(Capybara)

After do
  Capybara.reset_sessions!
end

Before('@javascript') do
  Capybara.current_driver = Capybara.javascript_driver
end

Before('@selenium') do
  Capybara.current_driver = :selenium
end

Before('@celerity') do
  Capybara.current_driver = :celerity
end

Before('@culerity') do
  Capybara.current_driver = :culerity
end

Before('@rack_test') do
  Capybara.current_driver = :rack_test
end

After do
  Capybara.use_default_driver
end

Version data entries

23 entries across 23 versions & 9 rubygems

Version Path
capybara-0.4.1.2 lib/capybara/cucumber.rb
capybara-rails-2-2-0.4.1.1 lib/capybara/cucumber.rb
rcarvalho-capybara-0.4.1.2 lib/capybara/cucumber.rb
rcarvalho-capybara-0.4.1.1 lib/capybara/cucumber.rb
capybara-0.4.1.1 lib/capybara/cucumber.rb
capybara-0.4.1.rc lib/capybara/cucumber.rb
yannp-capybara-0.4.0 lib/capybara/cucumber.rb
capybara-0.4.0 lib/capybara/cucumber.rb
capybara-0.4.0.rc lib/capybara/cucumber.rb
yannp-capybara-0.3.9 lib/capybara/cucumber.rb
david-capybara-0.3.9.1 lib/capybara/cucumber.rb
capybara-0.3.9 lib/capybara/cucumber.rb
david-capybara-0.3.8 lib/capybara/cucumber.rb
katzil-capybara-0.3.8 lib/capybara/cucumber.rb
capybara-0.3.8 lib/capybara/cucumber.rb
pr0d1r2-capybara-0.3.7 lib/capybara/cucumber.rb
capybara-0.3.7 lib/capybara/cucumber.rb
capybara-0.3.6 lib/capybara/cucumber.rb
h13ronim-capybara-0.3.0.1 lib/capybara/cucumber.rb
capybara-0.3.5 lib/capybara/cucumber.rb