X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88ba316abeecffccd1cb51c63ce5594c95023624..fea1b5b88de731dd35d1f79d36ec40a8e8a1f6af:/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