Commit 53a9b4cc authored by Nick Thomas's avatar Nick Thomas

Merge branch 'replicate_stop_using_shell' into 'master'

Stop using Gitlab::Shell in replicate specs

See merge request gitlab-org/gitlab!27164
parents 905c32b5 4cabc69b
......@@ -2151,11 +2151,11 @@ describe Gitlab::Git::Repository, :seed_helper do
'gitaly_address' => Gitlab.config.repositories.storages.default.gitaly_address,
'path' => TestEnv::SECOND_STORAGE_PATH
})
Gitlab::Shell.new.create_repository('test_second_storage', TEST_REPO_PATH, 'group/project')
new_repository.create_repository
end
after do
Gitlab::Shell.new.remove_repository('test_second_storage', TEST_REPO_PATH)
new_repository.remove
end
it 'mirrors the source repository' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment