Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/key_spec.rb')
-rw-r--r--spec/models/key_spec.rb2
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