System hooks: fix broken tests
This commit is contained in:
parent
f5908cef19
commit
655418bed2
8 changed files with 39 additions and 38 deletions
|
@ -13,9 +13,9 @@ describe "Admin::Projects" do
|
|||
it { admin_users_path.should be_denied_for :visitor }
|
||||
end
|
||||
|
||||
describe "GET /admin/emails" do
|
||||
it { admin_emails_path.should be_allowed_for :admin }
|
||||
it { admin_emails_path.should be_denied_for :user }
|
||||
it { admin_emails_path.should be_denied_for :visitor }
|
||||
describe "GET /admin/hooks" do
|
||||
it { admin_hooks_path.should be_allowed_for :admin }
|
||||
it { admin_hooks_path.should be_denied_for :user }
|
||||
it { admin_hooks_path.should be_denied_for :visitor }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue