diff options
| author | Nick Thomas <nick@gitlab.com> | 2018-08-14 00:22:29 +0100 |
|---|---|---|
| committer | Nick Thomas <nick@gitlab.com> | 2018-08-14 00:22:29 +0100 |
| commit | 764f6f47fa6a8698ae033532ae49875a87030518 (patch) | |
| tree | 286fc49fbbc22fc3314343794c86e98e1ad8bbe5 /spec | |
| parent | 2dcf8b77a61c4c7cfebe8ae13f8112a0471056b0 (diff) | |
| download | gitlab-shell-764f6f47fa6a8698ae033532ae49875a87030518.tar.gz | |
Revert "Pass custom git_config_options to Gitalyo"
This reverts commit f4ce4a3c31a9a7fb2fa0bb7daa185d34b8c03c00.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/action/gitaly_spec.rb | 4 | ||||
| -rw-r--r-- | spec/gitlab_access_spec.rb | 1 | ||||
| -rw-r--r-- | spec/gitlab_shell_spec.rb | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/spec/action/gitaly_spec.rb b/spec/action/gitaly_spec.rb index 7b34ccd..a5f6f0b 100644 --- a/spec/action/gitaly_spec.rb +++ b/spec/action/gitaly_spec.rb @@ -10,7 +10,6 @@ describe Action::Gitaly do let(:key) { Actor::Key.new(key_id) } let(:gl_repository) { 'project-1' } let(:gl_username) { 'testuser' } - let(:git_config_options) { ['receive.MaxInputSize=10000'] } let(:git_protocol) { 'version=2' } let(:tmp_repos_path) { File.join(ROOT_PATH, 'tmp', 'repositories') } let(:repo_name) { 'gitlab-ci.git' } @@ -38,7 +37,7 @@ describe Action::Gitaly do end subject do - described_class.new(key, gl_repository, gl_username, git_config_options, git_protocol, repository_path, gitaly) + described_class.new(key, gl_repository, gl_username, git_protocol, repository_path, gitaly) end describe '#execute' do @@ -69,7 +68,6 @@ describe Action::Gitaly do 'gl_repository' => gl_repository, 'gl_id' => key_str, 'gl_username' => gl_username, - 'git_config_options' => git_config_options, 'git_protocol' => git_protocol } end diff --git a/spec/gitlab_access_spec.rb b/spec/gitlab_access_spec.rb index c99959e..73ebf2e 100644 --- a/spec/gitlab_access_spec.rb +++ b/spec/gitlab_access_spec.rb @@ -12,7 +12,6 @@ describe GitlabAccess do 'key-1', 'project-1', 'testuser', - ['receive.MaxInputSize=10000'], 'version=2', '/home/git/repositories', nil diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index 5b8c8a5..c46da5d 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -20,7 +20,6 @@ describe GitlabShell do let(:repo_path) { File.join(tmp_repos_path, repo_name) } let(:gl_repository) { 'project-1' } let(:gl_username) { 'testuser' } - let(:git_config_options) { ['receive.MaxInputSize=10000'] } let(:git_protocol) { 'version=2' } let(:api) { double(GitlabNet) } @@ -30,7 +29,6 @@ describe GitlabShell do actor, gl_repository, gl_username, - git_config_options, git_protocol, repo_path, { 'repository' => { 'relative_path' => repo_name, 'storage_name' => 'default' } , 'address' => 'unix:gitaly.socket' }) |
