Refine Unit tests

This commit is contained in:
2024-01-17 04:25:32 +01:00
parent 8dbc07ea1f
commit 7cfa3a0af0
3 changed files with 58 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
fill_in User.human_attribute_name(:email).capitalize, with: user.email
fill_in User.human_attribute_name(:password).capitalize, with: password
click_on t(:sign_in)
user
end
def inject_button_to(after, *button_options)