Commit 4cabc69b authored by James Fargher's avatar James Fargher

Stop using Gitlab::Shell in replicate specs

parent 06385894
...@@ -2151,11 +2151,11 @@ describe Gitlab::Git::Repository, :seed_helper do ...@@ -2151,11 +2151,11 @@ describe Gitlab::Git::Repository, :seed_helper do
'gitaly_address' => Gitlab.config.repositories.storages.default.gitaly_address, 'gitaly_address' => Gitlab.config.repositories.storages.default.gitaly_address,
'path' => TestEnv::SECOND_STORAGE_PATH 'path' => TestEnv::SECOND_STORAGE_PATH
}) })
Gitlab::Shell.new.create_repository('test_second_storage', TEST_REPO_PATH, 'group/project') new_repository.create_repository
end end
after do after do
Gitlab::Shell.new.remove_repository('test_second_storage', TEST_REPO_PATH) new_repository.remove
end end
it 'mirrors the source repository' do 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