Commit f0340766 authored by Nick Thomas's avatar Nick Thomas

CE->EE: Fix an EE-only spec

parent 40be8977
......@@ -16,7 +16,7 @@ describe Emails::DestroyService do
end
it 'registers a security event' do
expect { service.execute }.to change { SecurityEvent.count }.by(1)
expect { service.execute(email) }.to change { SecurityEvent.count }.by(1)
end
end
end
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