From 69be6c573c13797f856aa4b6106196800f10ad50 Mon Sep 17 00:00:00 2001 From: northeastprince Date: Fri, 10 Nov 2023 10:04:33 -0500 Subject: [PATCH] Standardize --- test/application_system_test_case.rb | 2 +- test/system/admin/users_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 840ded8d..8a5e9f9f 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -10,7 +10,7 @@ def sign_in_as(user) fill_in :email_address, with: user.email_address click_on "Send Sign In Link" - assert_text /sent/i + assert_text(/sent/i) visit new_session_path(auth_token: user.authentications.last.token) end diff --git a/test/system/admin/users_test.rb b/test/system/admin/users_test.rb index 52886164..8e21178c 100644 --- a/test/system/admin/users_test.rb +++ b/test/system/admin/users_test.rb @@ -60,6 +60,6 @@ class Admin::UsersTest < ApplicationSystemTestCase assert_selector "input[type=email]#user_email_address" - assert_text /taken/i + assert_text(/taken/i) end end