aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/system_testing/system_test_case_test.rb
blob: c9003e384167c736bc130b9962b809952ec556d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require "abstract_unit"

class DrivenByRackTestTest < ActionDispatch::SystemTestCase
  driven_by :rack_test

  test "uses rack_test" do
    assert_equal :rack_test, Capybara.current_driver
  end
end

class DrivenBySeleniumWithChromeTest < ActionDispatch::SystemTestCase
  driven_by :selenium, using: :chrome

  test "uses selenium" do
    assert_equal :chrome, Capybara.current_driver
  end
end