Fix specs for project creation and update services

This commit is contained in:
Douglas Barbosa Alexandre 2017-10-02 15:21:39 +02:00
parent 8f0cc8d061
commit 624d54d2a8
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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