diff options
author | Robert Speicher <robert@gitlab.com> | 2018-07-23 19:03:55 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-07-23 19:03:55 +0000 |
commit | f59cd678e22c02a8f5a474bb982c22cdde0134c1 (patch) | |
tree | 09b5c83caadd778e4173257469ade986665ce12e /spec/gitlab_shell_spec.rb | |
parent | 6413c4bec177d8d2f10fe4513cf7ab339aeb68f0 (diff) | |
parent | c92bfcefece5eea1fa30f75f7e99212c09b5792e (diff) | |
download | gitlab-shell-f59cd678e22c02a8f5a474bb982c22cdde0134c1.tar.gz |
Merge branch 'ash.mckenzie/minor-tidy-up' into 'master'
Refactor for re-usability for future MR's
See merge request gitlab-org/gitlab-shell!210
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r-- | spec/gitlab_shell_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index eef0caf..af84b29 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -4,6 +4,7 @@ require_relative '../lib/gitlab_access_status' describe GitlabShell do before do + $logger = double('logger').as_null_object FileUtils.mkdir_p(tmp_repos_path) end @@ -428,7 +429,7 @@ describe GitlabShell do it "refuses to assign the path" do $stderr.should_receive(:puts).with("GitLab: Invalid repository path") - expect(subject.exec(ssh_cmd)).to be_false + expect(subject.exec(ssh_cmd)).to be_falsey end end end |