diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-09-28 20:07:22 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-09-29 19:27:06 +0300 |
commit | e5fecc3a377c458e49751e3d2eacfb52972e59c6 (patch) | |
tree | 9cee02474e9348d99f85d30acea61aafb7a46046 /spec/services/projects/create_service_spec.rb | |
parent | c49d19a5dc058a670bdac1e23579fbb44c60bec4 (diff) |
Create repositories via Gitaly
Diffstat (limited to 'spec/services/projects/create_service_spec.rb')
-rw-r--r-- | spec/services/projects/create_service_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/services/projects/create_service_spec.rb b/spec/services/projects/create_service_spec.rb index 5da634e2fb1..c2ec805ea99 100644 --- a/spec/services/projects/create_service_spec.rb +++ b/spec/services/projects/create_service_spec.rb @@ -156,10 +156,11 @@ describe Projects::CreateService, '#execute' do } end - let(:repository_storage_path) { Gitlab.config.repositories.storages['default']['path'] } + let(:repository_storage) { 'default' } + let(:repository_storage_path) { Gitlab.config.repositories.storages[repository_storage]['path'] } 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 |