summaryrefslogtreecommitdiff
path: root/spec/workers/gitlab_shell_worker_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-23 18:09:25 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-23 18:09:25 +0000
commit967812838c7e7742729a4c7aeb9859f98a509622 (patch)
tree22db2e6642be51cb12535db7863331457e5523c3 /spec/workers/gitlab_shell_worker_spec.rb
parent074d013e1eb3f6e0c27f96a3be8b9361254c8a98 (diff)
downloadgitlab-ce-967812838c7e7742729a4c7aeb9859f98a509622.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/gitlab_shell_worker_spec.rb')
-rw-r--r--spec/workers/gitlab_shell_worker_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/workers/gitlab_shell_worker_spec.rb b/spec/workers/gitlab_shell_worker_spec.rb
index f5884e5e8f8..0e63f48d3e8 100644
--- a/spec/workers/gitlab_shell_worker_spec.rb
+++ b/spec/workers/gitlab_shell_worker_spec.rb
@@ -12,7 +12,7 @@ describe GitlabShellWorker do
expect(instance).to receive(:add_key).with('foo', 'bar')
end
- worker.perform(:add_key, 'foo', 'bar')
+ worker.perform('add_key', 'foo', 'bar')
end
end
@@ -22,7 +22,7 @@ describe GitlabShellWorker do
expect(instance).to receive(:remove_key).with('foo', 'bar')
end
- worker.perform(:remove_key, 'foo', 'bar')
+ worker.perform('remove_key', 'foo', 'bar')
end
end
@@ -32,7 +32,7 @@ describe GitlabShellWorker do
expect(instance).to receive(:foo).with('bar', 'baz')
end
- worker.perform(:foo, 'bar', 'baz')
+ worker.perform('foo', 'bar', 'baz')
end
end
end