Commit a5727ff8 authored by Lin Jen-Shin's avatar Lin Jen-Shin

We have 2 audit events now

parent 613f64a0
......@@ -111,8 +111,8 @@ RSpec.describe RegistrationsController do
end
context 'when user registers for the instance' do
it 'logs an audit event' do
expect { subject }.to change { AuditEvent.count }.by(1)
it 'logs add email event and instance access request event' do
expect { subject }.to change { AuditEvent.count }.by(2)
end
it 'logs the audit event info', :aggregate_failures do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment