diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-09-06 17:26:16 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-09-06 17:26:16 +0200 |
commit | 8e97323d490129b666d01f76412b57f0ccb0c909 (patch) | |
tree | d4dce06c25ff8288113665ad142388db70bfd8ce /spec/lib/gitlab | |
parent | c87540ed46ba8756154f767be99f80be75c27a43 (diff) | |
download | gitlab-ce-8e97323d490129b666d01f76412b57f0ccb0c909.tar.gz |
Constants in specs
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/workhorse_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb index 63032d43027..395192149a9 100644 --- a/spec/lib/gitlab/workhorse_spec.rb +++ b/spec/lib/gitlab/workhorse_spec.rb @@ -63,7 +63,7 @@ describe Gitlab::Workhorse, lib: true do end describe '#verify_api_request!' do - let(:header_key) { described_class.const_get('INTERNAL_API_REQUEST_HEADER') } + let(:header_key) { described_class::INTERNAL_API_REQUEST_HEADER } let(:payload) { { 'iss' => 'gitlab-workhorse' } } it 'accepts a correct header' do |