From 3b6f9f7583755e041e76142d7caf7716937907fa Mon Sep 17 00:00:00 2001 From: Patrick Bajao Date: Fri, 2 Aug 2019 16:10:17 +0800 Subject: Add Executable struct This struct is responsible for determining the name and root dir of the executable. The `RootDir` property will be used to find the config. The `Name` property will be used to determine what `Command` and `CommandArgs` to be built. --- spec/gitlab_shell_gitlab_shell_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/gitlab_shell_gitlab_shell_spec.rb') diff --git a/spec/gitlab_shell_gitlab_shell_spec.rb b/spec/gitlab_shell_gitlab_shell_spec.rb index 6d6e172..3e714d8 100644 --- a/spec/gitlab_shell_gitlab_shell_spec.rb +++ b/spec/gitlab_shell_gitlab_shell_spec.rb @@ -123,10 +123,10 @@ describe 'bin/gitlab-shell' do it_behaves_like 'results with keys' - it 'outputs "Only ssh allowed"' do + it 'outputs "Only SSH allowed"' do _, stderr, status = run!(["-c/usr/share/webapps/gitlab-shell/bin/gitlab-shell", "username-someuser"], env: {}) - expect(stderr).to eq("Only ssh allowed\n") + expect(stderr).to eq("Only SSH allowed\n") expect(status).not_to be_success end -- cgit v1.2.1