diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-07 03:07:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-07 03:07:50 +0300 |
commit | d95abc0bc994436aa963347bed29e264d5158fa5 (patch) | |
tree | fe2aab72e133e2913cba0959efd88fdb75669b91 /spec/support/shared_examples/controllers | |
parent | 015663b70f1bcdae4483e38c2beac884f92da5b8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/shared_examples/controllers')
-rw-r--r-- | spec/support/shared_examples/controllers/error_tracking_shared_examples.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/support/shared_examples/controllers/error_tracking_shared_examples.rb b/spec/support/shared_examples/controllers/error_tracking_shared_examples.rb new file mode 100644 index 00000000000..71251f6ab51 --- /dev/null +++ b/spec/support/shared_examples/controllers/error_tracking_shared_examples.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +shared_examples 'sets the polling header' do + subject { response.headers[Gitlab::PollingInterval::HEADER_NAME] } + + it { is_expected.to eq '1000'} +end |