summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/test_env.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb
index 19be8029a98..370094d3765 100644
--- a/spec/support/test_env.rb
+++ b/spec/support/test_env.rb
@@ -29,16 +29,12 @@ module TestEnv
remove_key: true
)
- fake_satellite = stub(
+ Gitlab::Satellite::Satellite.any_instance.stub(
exists?: true,
destroy: true,
create: true
)
- Project.any_instance.stub(
- satellite: fake_satellite
- )
-
MergeRequest.any_instance.stub(
check_if_can_be_merged: true
)