X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/99e537859a813edbcbf4ce94eae69f33f6361e22..0f3f3ead0a573fef31118196f6dea17841dd0ac8:/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..287504cb4 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 @@ -25,9 +25,9 @@ class UserRolesHelperTest < ActionView::TestCase user = create(:user) icon = role_icon(user, "moderator") expected = <<~HTML.delete("\n") - + - + Grant moderator access @@ -37,9 +37,9 @@ class UserRolesHelperTest < ActionView::TestCase moderator_user = create(:moderator_user) icon = role_icon(moderator_user, "moderator") 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 @@ -82,15 +82,15 @@ class UserRolesHelperTest < ActionView::TestCase user = create(:user) icons = role_icons(user) expected = <<~HTML.delete("\n") - + - + Grant administrator access - + - + Grant moderator access @@ -100,15 +100,15 @@ 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,15 +118,15 @@ class UserRolesHelperTest < ActionView::TestCase super_user = create(:super_user) icons = role_icons(super_user) expected = <<~HTML.delete("\n") - + - + Revoke administrator access - + - + Revoke moderator access