3504: Set the capybara driver explicitly so tests pass again.
[arvados.git] / apps / workbench / test / integration / logins_test.rb
index 9daf831810de1253496f6c91ee6a931525b5c765..adc35d0cb0eff6f6bcc7d8d43507a421d97846e9 100644 (file)
@@ -8,6 +8,8 @@ class LoginsTest < ActionDispatch::IntegrationTest
   end
 
   test "trying to use expired token redirects to login page" do
+    Capybara.current_driver = :rack_test
+
     visit page_with_token('expired_trustedclient')
     buttons = all("a.btn", text: /Log in/)
     assert_equal(1, buttons.size, "Failed to find one login button")