summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-10-02 15:21:39 +0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-10-02 21:41:23 +0200
commit624d54d2a8ada8bbf4aaa9cdbd5aa44e06ee076e (patch)
tree97eaf366f79fcde4631544dab42f12580e7d405d
parent8f0cc8d0615531d1575707c4c4866dadba50dec6 (diff)
downloadgitlab-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.rb4
-rw-r--r--spec/services/projects/update_service_spec.rb2
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