diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-10-02 15:21:39 +0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-10-02 21:41:23 +0200 |
commit | 624d54d2a8ada8bbf4aaa9cdbd5aa44e06ee076e (patch) | |
tree | 97eaf366f79fcde4631544dab42f12580e7d405d | |
parent | 8f0cc8d0615531d1575707c4c4866dadba50dec6 (diff) | |
download | gitlab-ce-38202-cannot-rename-a-hashed-project.tar.gz |
Fix specs for project creation and update services38202-cannot-rename-a-hashed-project
-rw-r--r-- | spec/services/projects/create_service_spec.rb | 4 | ||||
-rw-r--r-- | spec/services/projects/update_service_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/projects/create_service_spec.rb b/spec/services/projects/create_service_spec.rb index 3aed4aa56d1..2cc4643777e 100644 --- a/spec/services/projects/create_service_spec.rb +++ b/spec/services/projects/create_service_spec.rb @@ -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 diff --git a/spec/services/projects/update_service_spec.rb b/spec/services/projects/update_service_spec.rb index 2f86ffad378..d400304622e 100644 --- a/spec/services/projects/update_service_spec.rb +++ b/spec/services/projects/update_service_spec.rb @@ -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 |