X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/99e537859a813edbcbf4ce94eae69f33f6361e22..9b0767b80fcd2ad919ea09277eed921580ad1b1a:/test/helpers/user_roles_helper_test.rb diff --git a/test/helpers/user_roles_helper_test.rb b/test/helpers/user_roles_helper_test.rb index dfd790a0b..9c9d31e60 100644 --- a/test/helpers/user_roles_helper_test.rb +++ b/test/helpers/user_roles_helper_test.rb @@ -12,7 +12,7 @@ class UserRolesHelperTest < ActionView::TestCase icon = role_icon(create(:moderator_user), "moderator") expected = <<~HTML.delete("\n") - + This user is a moderator HTML @@ -27,7 +27,7 @@ class UserRolesHelperTest < ActionView::TestCase expected = <<~HTML.delete("\n") - + Grant moderator access @@ -39,7 +39,7 @@ class UserRolesHelperTest < ActionView::TestCase expected = <<~HTML.delete("\n") - + Revoke moderator access @@ -56,7 +56,7 @@ class UserRolesHelperTest < ActionView::TestCase icons = role_icons(create(:moderator_user)) expected = <<~HTML.delete("\n") - + This user is a moderator HTML @@ -65,11 +65,11 @@ class UserRolesHelperTest < ActionView::TestCase icons = role_icons(create(:super_user)) expected = <<~HTML.delete("\n") - + This user is an administrator - + This user is a moderator HTML @@ -84,13 +84,13 @@ class UserRolesHelperTest < ActionView::TestCase expected = <<~HTML.delete("\n") - + Grant administrator access - + Grant moderator access @@ -102,13 +102,13 @@ class UserRolesHelperTest < ActionView::TestCase expected = <<~HTML.delete("\n") - + Grant administrator access - + Revoke moderator access @@ -120,13 +120,13 @@ class UserRolesHelperTest < ActionView::TestCase expected = <<~HTML.delete("\n") - + Revoke administrator access - + Revoke moderator access