diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-24 22:37:26 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-02-06 08:33:10 +0300 |
commit | f929411c6da8ddc890cd2d30df632984d1554ad3 (patch) | |
tree | 0542466389e720f85ab1724ae76589d05f2b0a50 /spec/lib/gitlab/gitaly_client | |
parent | e5990db539ccbad926616b3e01736454dca38b75 (diff) |
Rename gl_project_name -> gl_project_path
Upgrade gitaly-proto to 1.10.0 to have this field.
Diffstat (limited to 'spec/lib/gitlab/gitaly_client')
-rw-r--r-- | spec/lib/gitlab/gitaly_client/util_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/gitaly_client/util_spec.rb b/spec/lib/gitlab/gitaly_client/util_spec.rb index 271bd86f93a..78a5e195ad1 100644 --- a/spec/lib/gitlab/gitaly_client/util_spec.rb +++ b/spec/lib/gitlab/gitaly_client/util_spec.rb @@ -7,7 +7,7 @@ describe Gitlab::GitalyClient::Util do let(:gl_repository) { 'project-1' } let(:git_object_directory) { '.git/objects' } let(:git_alternate_object_directory) { ['/dir/one', '/dir/two'] } - let(:gl_project_name) { 'namespace/myproject' } + let(:gl_project_path) { 'namespace/myproject' } let(:git_env) do { 'GIT_OBJECT_DIRECTORY_RELATIVE' => git_object_directory, @@ -16,7 +16,7 @@ describe Gitlab::GitalyClient::Util do end subject do - described_class.repository(repository_storage, relative_path, gl_repository, gl_project_name) + described_class.repository(repository_storage, relative_path, gl_repository, gl_project_path) end it 'creates a Gitaly::Repository with the given data' do @@ -28,7 +28,7 @@ describe Gitlab::GitalyClient::Util do expect(subject.gl_repository).to eq(gl_repository) expect(subject.git_object_directory).to eq(git_object_directory) expect(subject.git_alternate_object_directories).to eq(git_alternate_object_directory) - expect(subject.gl_project_name).to eq(gl_project_name) + expect(subject.gl_project_path).to eq(gl_project_path) end end end |