Skip to content

Commit

Permalink
Corrected admin system test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Sep 29, 2023
1 parent ccda6b2 commit 68cd58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system/admin/users/admin_users_list_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_certain_fields_are_required
click_link_or_button('Submit')

errors_list = page.find('#errors').all('li')
assert_equal(7, errors_list.size)
assert_equal(5, errors_list.size)
errors_array = errors_list.collect(&:text)

expected_errors = ["Email can't be blank", "Password can't be blank", "Given names: can't be blank",
Expand Down

0 comments on commit 68cd58e

Please sign in to comment.