Sha256: 06f5650b20017edc67f7ef841ad098cd3905fe60de5a4137ab0c248db6ec9f62

Contents?: true

Size: 205 Bytes

Versions: 3

Compression:

Stored size: 205 Bytes

Contents

module CapybaraHelper
  def self.included(base)
    base.class_eval do
      include Capybara::DSL
    end
  end

  def after_teardown
    Capybara.reset_sessions!
    Capybara.use_default_driver
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails-localization-0.2.0 test/support/capybara_helper.rb
rails-localization-0.1.1 test/support/capybara_helper.rb
rails-localization-0.1.0 test/support/capybara_helper.rb