Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-29 06:07:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-29 06:07:53 +0300
commitbf1cb9b8e3835560a71250e762d362bbf6c5d714 (patch)
tree055314682f2ab4b835988e43cb8339176de2f410 /spec/lib
parent11be679c04247407791a2ed0fc42236e23389fa7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib')
-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