Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-09-21 01:33:56 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-09-30 06:58:56 +0300
commit16f850033fa557d86e5f561001f5f67e17a132bc (patch)
treec39af10cfa508a22d3938603826042319036de31 /spec/lib/gitlab/workhorse_spec.rb
parenta97ff8aae09054f1394da18097bacb5b10a5d809 (diff)
Populate `Gitlay::Repository`'s `gl_repository` field
Diffstat (limited to 'spec/lib/gitlab/workhorse_spec.rb')
-rw-r--r--spec/lib/gitlab/workhorse_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb
index 5708aa6754f..5f4d69224eb 100644
--- a/spec/lib/gitlab/workhorse_spec.rb
+++ b/spec/lib/gitlab/workhorse_spec.rb
@@ -216,7 +216,8 @@ describe Gitlab::Workhorse do
it 'includes a Repository param' do
repo_param = {
storage_name: 'default',
- relative_path: project.full_path + '.git'
+ relative_path: project.full_path + '.git',
+ gl_repository: "project-#{project.id}"
}
expect(subject[:Repository]).to include(repo_param)