diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-06-21 16:33:33 +0300 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-06-21 19:30:04 +0300 |
commit | ee917c0a7c97c4b144705c01ba35440bc03e11cf (patch) | |
tree | 72d3a15f72119186e60d5392d71eac200aa17d4d /spec | |
parent | 3d5526a0e84d3efa208c98339a14690b51a1827d (diff) |
Merge branch 'disable-environment-list-polling' into 'master'
Disable environment list polling as it breaks deployboard
See merge request !12347
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/projects/environments_controller_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/controllers/projects/environments_controller_spec.rb b/spec/controllers/projects/environments_controller_spec.rb index f6840578145..fcc79902a3c 100644 --- a/spec/controllers/projects/environments_controller_spec.rb +++ b/spec/controllers/projects/environments_controller_spec.rb @@ -58,9 +58,11 @@ describe Projects::EnvironmentsController do expect(json_response['stopped_count']).to eq 1 end - it 'sets the polling interval header' do + it 'does not set the polling interval header' do + # TODO, this is a temporary fix, see follow up issue: + # https://gitlab.com/gitlab-org/gitlab-ee/issues/2677 expect(response).to have_http_status(:ok) - expect(response.headers['Poll-Interval']).to eq("3000") + expect(response.headers['Poll-Interval']).to be_nil end end |