diff options
Diffstat (limited to 'spec/models/key_spec.rb')
-rw-r--r-- | spec/models/key_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb index f1bc7b41cee..7a46e5e7e53 100644 --- a/spec/models/key_spec.rb +++ b/spec/models/key_spec.rb @@ -165,7 +165,7 @@ RSpec.describe Key, :mailer do .with(key) .and_return(service) - expect(service).to receive(:execute) + expect(service).to receive(:execute_async) key.update_last_used_at end |