X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..144c48737b6669755850db8fbb08a351f615474e:/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 9c9d31e60..287504cb4 100644 --- a/test/helpers/user_roles_helper_test.rb +++ b/test/helpers/user_roles_helper_test.rb @@ -25,7 +25,7 @@ class UserRolesHelperTest < ActionView::TestCase user = create(:user) icon = role_icon(user, "moderator") expected = <<~HTML.delete("\n") - + Grant moderator access @@ -37,7 +37,7 @@ class UserRolesHelperTest < ActionView::TestCase moderator_user = create(:moderator_user) icon = role_icon(moderator_user, "moderator") expected = <<~HTML.delete("\n") - + Revoke moderator access @@ -82,13 +82,13 @@ class UserRolesHelperTest < ActionView::TestCase user = create(:user) icons = role_icons(user) expected = <<~HTML.delete("\n") - + Grant administrator access - + Grant moderator access @@ -100,13 +100,13 @@ class UserRolesHelperTest < ActionView::TestCase moderator_user = create(:moderator_user) icons = role_icons(moderator_user) expected = <<~HTML.delete("\n") - + Grant administrator access - + Revoke moderator access @@ -118,13 +118,13 @@ class UserRolesHelperTest < ActionView::TestCase super_user = create(:super_user) icons = role_icons(super_user) expected = <<~HTML.delete("\n") - + Revoke administrator access - + Revoke moderator access