summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-12 19:25:05 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-12 19:25:05 +0000
commitf61186ba00ac1c6e96e4e16d7fe118debcdda1ea (patch)
tree572e0a87bd7d3ed9b7c064a68cd358000a2a7ab1 /spec/gitlab_shell_spec.rb
parent63e16172e524d83e4fe04945e277bc21dda6d777 (diff)
parentddb0a8d1545629e1e56397bed43c388dcb85324f (diff)
downloadgitlab-shell-f61186ba00ac1c6e96e4e16d7fe118debcdda1ea.tar.gz
Merge branch 'log-api-error' into 'master'
Log full Net::HTTP error. See merge request !56
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