REPP logs view

This commit is contained in:
Martin Lensment 2015-01-13 16:25:59 +02:00
parent b10815810d
commit 24a016cf48
9 changed files with 104 additions and 1 deletions

View file

@ -22,6 +22,7 @@ describe User do
it { should be_able_to(:manage, Keyrelay.new) }
it { should be_able_to(:manage, LegalDocument.new) }
it { should be_able_to(:read, ApiLog::EppLog.new) }
it { should be_able_to(:read, ApiLog::ReppLog.new) }
it { should be_able_to(:index, :delayed_job) }
it { should be_able_to(:create, :zonefile) }
it { should be_able_to(:access, :settings_menu) }
@ -40,6 +41,7 @@ describe User do
it { should_not be_able_to(:manage, EppUser.new) }
it { should_not be_able_to(:manage, LegalDocument.new) }
it { should_not be_able_to(:read, ApiLog::EppLog.new) }
it { should_not be_able_to(:read, ApiLog::ReppLog.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) }