This commit is contained in:
Martin Lensment 2014-12-30 12:15:44 +02:00
parent 3adab3f0ae
commit 677b4e368d

View file

@ -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) }