mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Test fix
This commit is contained in:
parent
3adab3f0ae
commit
677b4e368d
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ describe User do
|
|||
it { should be_able_to(:manage, User.new) }
|
||||
it { should be_able_to(:manage, EppUser.new) }
|
||||
it { should be_able_to(:manage, Keyrelay.new) }
|
||||
it { should be_able_to(:manage, LegalDocument.new) }
|
||||
it { should be_able_to(:index, :delayed_job) }
|
||||
it { should be_able_to(:create, :zonefile) }
|
||||
it { should be_able_to(:access, :settings_menu) }
|
||||
|
@ -36,6 +37,7 @@ describe User do
|
|||
it { should_not be_able_to(:manage, DomainVersion.new) }
|
||||
it { should_not be_able_to(:manage, User.new) }
|
||||
it { should_not be_able_to(:manage, EppUser.new) }
|
||||
it { should_not be_able_to(:manage, LegalDocument.new) }
|
||||
it { should_not be_able_to(:index, :delayed_job) }
|
||||
it { should_not be_able_to(:create, :zonefile) }
|
||||
it { should_not be_able_to(:access, :settings_menu) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue