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