1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Always use rack_test in integration tests

Otherwise Rails defaults to chromedriver which we do not need.
This commit is contained in:
Yuki Nishijima 2018-09-03 19:27:18 -04:00
parent 7304650928
commit 49b496337f

View file

@ -6,6 +6,7 @@ class NavigationTest < Test::Unit::TestCase
setup do setup do
1.upto(100) {|i| User.create! name: "user#{'%03d' % i}" } 1.upto(100) {|i| User.create! name: "user#{'%03d' % i}" }
Capybara.current_driver = :rack_test
end end
teardown do teardown do