aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/test/dispatch/system_testing/system_test_case_test.rb
blob: 33d98f924f236a09b3e01b344acfd0482e397a9e (plain) (tree)
1
2
3
4
5
6
7
8
                       
 
                                                

                                                    
     
   
 







                                                                         
                                                          
                         
                                                   

     
require "abstract_unit"

class SetDriverToRackTestTest < DrivenByRackTest
  test "uses rack_test" do
    assert_equal :rack_test, Capybara.current_driver
  end
end

class OverrideSeleniumSubclassToRackTestTest < DrivenBySeleniumWithChrome
  driven_by :rack_test

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

class SetDriverToSeleniumTest < DrivenBySeleniumWithChrome
  test "uses selenium" do
    assert_equal :selenium, Capybara.current_driver
  end
end