diff --git a/test/controllers/sessions_controller_test.rb b/test/controllers/sessions_controller_test.rb index ab9bc8603..6cba0377e 100644 --- a/test/controllers/sessions_controller_test.rb +++ b/test/controllers/sessions_controller_test.rb @@ -16,7 +16,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest test "new allowed with compatible browser" do get new_session_url, env: { "HTTP_USER_AGENT" => ALLOWED_BROWSER } - assert_select "svg", message: /Your browser is not supported/, count: 0 + assert_select "svg", text: /Your browser is not supported/, count: 0 end test "create with valid credentials" do