Remove custom deny_access handlers

Since these pages are not accessed by normal users, except for url fiddling, it's fine to respond with a generic access denied.
This commit is contained in:
Andy Allan 2018-11-14 11:35:30 +01:00
parent 4deffa5e40
commit 234afb3f42
7 changed files with 9 additions and 43 deletions

View file

@ -12,7 +12,7 @@ class IssuesTest < ApplicationSystemTestCase
sign_in_as(create(:user))
visit issues_path
assert page.has_content?(I18n.t("application.require_moderator_or_admin.not_a_moderator_or_admin"))
assert page.has_content?("Forbidden")
end
def test_view_no_issues