Fix specs for project creation and update services

parent 8f0cc8d0
......@@ -161,7 +161,7 @@ describe Projects::CreateService, '#execute' do
context 'with legacy storage' do
before do
gitlab_shell.add_repository(repository_storage_path, "#{user.namespace.full_path}/existing")
gitlab_shell.add_repository(repository_storage, "#{user.namespace.full_path}/existing")
end
after do
......@@ -197,7 +197,7 @@ describe Projects::CreateService, '#execute' do
end
before do
gitlab_shell.add_repository(repository_storage_path, hashed_path)
gitlab_shell.add_repository(repository_storage, hashed_path)
end
after do
......
......@@ -154,7 +154,7 @@ describe Projects::UpdateService, '#execute' do
context 'with legacy storage' do
before do
gitlab_shell.add_repository(repository_storage_path, "#{user.namespace.full_path}/existing")
gitlab_shell.add_repository(repository_storage, "#{user.namespace.full_path}/existing")
end
after 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