diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-05 09:07:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-05 09:07:51 +0300 |
commit | 00bd11b166a886742f04d38c0d2551e52ff51472 (patch) | |
tree | af0b118c5748fdaabda2f9c2a007969c1673d581 /spec/controllers | |
parent | a0c1ba61c8e8c9195e3ad4deefc5c4cb5c6a1501 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/application_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb index bdac7369780..90f6697a8c0 100644 --- a/spec/controllers/application_controller_spec.rb +++ b/spec/controllers/application_controller_spec.rb @@ -725,6 +725,7 @@ describe ApplicationController do get :index expect(response.headers['Cache-Control']).to be_nil + expect(response.headers['Pragma']).to be_nil end end @@ -735,6 +736,7 @@ describe ApplicationController do get :index expect(response.headers['Cache-Control']).to eq 'max-age=0, private, must-revalidate, no-store' + expect(response.headers['Pragma']).to eq 'no-cache' end it 'does not set the "no-store" header for XHR requests' do |