summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/controllers/error_tracking_shared_examples.rb
blob: 08e5efcf63c34228c00d0cafccd42cf8e8e6bf56 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

RSpec.shared_examples 'sets the polling header' do
  subject { response.headers[Gitlab::PollingInterval::HEADER_NAME] }

  it { is_expected.to eq '1000'}
end