Commit cc4f77c6 authored by http://jneen.net/'s avatar http://jneen.net/

reset_delivered_emails before testing #new_key

since the mere act of creating the key sends an email :|
parent 38737345
......@@ -91,6 +91,7 @@ describe NotificationService, :mailer do
it 'never emails the ghost user' do
key.user = User.ghost
reset_delivered_emails!
notification.new_key(key)
should_not_email_anyone
......
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