diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2021-06-30 01:51:11 +0000 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2021-06-30 01:51:11 +0000 |
commit | ebef7c3d74407d2e89dd8a44c6ad3b5924495699 (patch) | |
tree | d494d18b47384eebbe82afd6d30cb3510d7e13a6 | |
parent | 1a299b07881096ae7e5f5190687d2d6318662219 (diff) | |
parent | 07ab536943e35c8a0f45b88be95ed343e71ba03c (diff) | |
download | gitlab-shell-ebef7c3d74407d2e89dd8a44c6ad3b5924495699.tar.gz |
Merge branch 'fix-failing-spec' into 'main'
Fix a failing spec
See merge request gitlab-org/gitlab-shell!489
-rw-r--r-- | spec/gitlab_shell_discover_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_shell_discover_spec.rb b/spec/gitlab_shell_discover_spec.rb index ea99067..225d6b9 100644 --- a/spec/gitlab_shell_discover_spec.rb +++ b/spec/gitlab_shell_discover_spec.rb @@ -108,7 +108,7 @@ describe 'bin/gitlab-shell' do end it 'outputs "Only SSH allowed"' do - _, stderr, status = run!(["-c/usr/share/webapps/gitlab-shell/bin/gitlab-shell", "username-someuser"], env: {}) + _, stderr, status = run!(["-c/usr/share/webapps/gitlab-shell/bin/gitlab-shell", "username-someuser"], env: {'SSH_CONNECTION' => ''}) expect(stderr).to eq("Only SSH allowed\n") expect(status).not_to be_success |