diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-29 06:07:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-29 06:07:53 +0300 |
commit | bf1cb9b8e3835560a71250e762d362bbf6c5d714 (patch) | |
tree | 055314682f2ab4b835988e43cb8339176de2f410 /spec/lib/gitlab/http_io_spec.rb | |
parent | 11be679c04247407791a2ed0fc42236e23389fa7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/http_io_spec.rb')
-rw-r--r-- | spec/lib/gitlab/http_io_spec.rb | 8 |
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 |