Account for svg on sessions#new
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user