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
|
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
|
||||||
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
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue