diff options
Diffstat (limited to 'spec/contexts/fork_context_spec.rb')
-rw-r--r-- | spec/contexts/fork_context_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/contexts/fork_context_spec.rb b/spec/contexts/fork_context_spec.rb index ed51b0c3f8e..70f650bc83d 100644 --- a/spec/contexts/fork_context_spec.rb +++ b/spec/contexts/fork_context_spec.rb @@ -48,7 +48,7 @@ describe Projects::ForkContext do def fork_project(from_project, user, fork_success = true) context = Projects::ForkContext.new(from_project, user) - shell = mock("gitlab_shell") + shell = double("gitlab_shell") shell.stub(fork_repository: fork_success) context.stub(gitlab_shell: shell) context.execute |