Commit 9aad2c0f authored by Nick Thomas's avatar Nick Thomas

Fix Projects::UpdateService#repository_storage spec to take account of schema...

Fix Projects::UpdateService#repository_storage spec to take account of schema changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9597
parent 67c96972
......@@ -105,7 +105,11 @@ describe Projects::UpdateService, services: true do
FileUtils.mkdir('tmp/tests/storage_a')
FileUtils.mkdir('tmp/tests/storage_b')
storages = { 'a' => 'tmp/tests/storage_a', 'b' => 'tmp/tests/storage_b' }
storages = {
'a' => { 'path' => 'tmp/tests/storage_a' },
'b' => { 'path' => 'tmp/tests/storage_b' },
}
allow(Gitlab.config.repositories).to receive(:storages).and_return(storages)
end
......
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