summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-11-01 16:36:45 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-11-01 16:36:45 -0200
commita37cda3e7544baf9881c2b550640af37e935ab4d (patch)
tree3ee7d3755be0621f542664835078299bcbb69633
parent160b84f8b5bce3a80e6b6b4de3f48e8c0ef9ae0c (diff)
downloadgitlab-ce-a37cda3e7544baf9881c2b550640af37e935ab4d.tar.gz
Fix spec for Projects::CreateService
-rw-r--r--spec/services/projects/create_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/projects/create_service_spec.rb b/spec/services/projects/create_service_spec.rb
index 2cc4643777e..3aed4aa56d1 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, "#{user.namespace.full_path}/existing")
+ gitlab_shell.add_repository(repository_storage_path, "#{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, hashed_path)
+ gitlab_shell.add_repository(repository_storage_path, hashed_path)
end
after do