diff --git a/test/system/admin/users/admin_users_list_test.rb b/test/system/admin/users/admin_users_list_test.rb index 807805654..5800accd7 100644 --- a/test/system/admin/users/admin_users_list_test.rb +++ b/test/system/admin/users/admin_users_list_test.rb @@ -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",