fix tests

This commit is contained in:
Dmitriy Zaporozhets 2013-04-01 18:35:29 +03:00
parent adccf3b499
commit 3b88636d3c
3 changed files with 5 additions and 8 deletions

View file

@ -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
)