summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-12 19:56:23 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-12 20:00:31 +0100
commitddb0a8d1545629e1e56397bed43c388dcb85324f (patch)
tree572e0a87bd7d3ed9b7c064a68cd358000a2a7ab1 /spec/gitlab_shell_spec.rb
parent63e16172e524d83e4fe04945e277bc21dda6d777 (diff)
downloadgitlab-shell-ddb0a8d1545629e1e56397bed43c388dcb85324f.tar.gz
Log full Net::HTTP error.
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r--spec/gitlab_shell_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb
index 4ca7984..f3aba54 100644
--- a/spec/gitlab_shell_spec.rb
+++ b/spec/gitlab_shell_spec.rb
@@ -150,11 +150,6 @@ describe GitlabShell do
it "should not execute the command" do
subject.should_not_receive(:exec_cmd)
end
-
- it "should log the failed connection" do
- message = "gitlab-shell: Failed to connect to internal API"
- $logger.should_receive(:warn).with(message)
- end
end
end