Sha256: f2ca5310a96f3bacd27e4a49a21ff0262d79ef949359913c100b0c61de7a19d5

Contents?: true

Size: 285 Bytes

Versions: 11

Compression:

Stored size: 285 Bytes

Contents

require 'capybara/rails'

class ActionDispatch::IntegrationTest
  include Capybara::DSL

  setup do
    Capybara.reset_sessions!
    Capybara.use_default_driver
  end

  def self.use_javascript!
    setup do
      Capybara.current_driver = Capybara.javascript_driver
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
minitest-utils-0.2.6 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.2.5 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.2.4 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.2.3 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.2.1 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.2.0 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.1.4 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.1.3 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.1.2 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.1.1 lib/minitest/utils/rails/capybara.rb
minitest-utils-0.1.0 lib/minitest/utils/rails/capybara.rb