summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-29 03:07:53 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-29 03:07:53 +0000
commitbf1cb9b8e3835560a71250e762d362bbf6c5d714 (patch)
tree055314682f2ab4b835988e43cb8339176de2f410 /spec
parent11be679c04247407791a2ed0fc42236e23389fa7 (diff)
downloadgitlab-ce-bf1cb9b8e3835560a71250e762d362bbf6c5d714.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/http_io_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/lib/gitlab/http_io_spec.rb b/spec/lib/gitlab/http_io_spec.rb
index 4bb5fb7c198..e53c361e169 100644
--- a/spec/lib/gitlab/http_io_spec.rb
+++ b/spec/lib/gitlab/http_io_spec.rb
@@ -319,4 +319,12 @@ describe Gitlab::HttpIO do
it { is_expected.to be_truthy }
end
+
+ describe '#send' do
+ subject(:send) { http_io.send(:request) }
+
+ it 'does not set the "accept-encoding" header' do
+ expect(send['accept-encoding']).to be_nil
+ end
+ end
end