mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Add epp log view
This commit is contained in:
parent
360c2d3db8
commit
0544dbd3ff
13 changed files with 114 additions and 16 deletions
|
@ -67,7 +67,6 @@ describe 'EPP Session', epp: true do
|
|||
expect(response[:msg]).to match(/Already logged in. Use/)
|
||||
|
||||
log = ApiLog::EppLog.all
|
||||
|
||||
expect(log.length).to eq(3)
|
||||
expect(log[0].request_command).to eq('hello')
|
||||
expect(log[0].request_successful).to eq(true)
|
||||
|
|
|
@ -21,6 +21,7 @@ describe User do
|
|||
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(:read, ApiLog::EppLog.new) }
|
||||
it { should be_able_to(:index, :delayed_job) }
|
||||
it { should be_able_to(:create, :zonefile) }
|
||||
it { should be_able_to(:access, :settings_menu) }
|
||||
|
@ -38,6 +39,7 @@ describe User do
|
|||
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(:read, ApiLog::EppLog.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