Fix specs for project creation and update services

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