Fix specs for project creation and update services
This commit is contained in:
parent
8f0cc8d061
commit
624d54d2a8
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue