summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/controllers/error_tracking_shared_examples.rb
blob: 1bf2f158504c658693485312a2d28f99cd13008f (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