diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-06-01 11:49:39 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-06-01 11:49:39 +0000 |
commit | cc5890f287b9dc5c117470d5b0925ba7f6d07485 (patch) | |
tree | 7aa007de7a6900fe8d487526f8dba4545bee3cd0 /spec | |
parent | 78fe35ccc382372a4047630e3ccfafe8fabb5c00 (diff) | |
parent | 7083b355a693e2de91aa7bcd7099c1a1690bc756 (diff) | |
download | gitlab-ce-cc5890f287b9dc5c117470d5b0925ba7f6d07485.tar.gz |
Merge branch '46481-preserve-warnings-even-if-passed' into 'master'
Resolve "A lot of constants redefinition warnings"
Closes #46481
See merge request gitlab-org/gitlab-ce!19286
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/omni_auth/strategies/jwt_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/omni_auth/strategies/jwt_spec.rb b/spec/lib/omni_auth/strategies/jwt_spec.rb index 23485fbcb18..88d6d0b559a 100644 --- a/spec/lib/omni_auth/strategies/jwt_spec.rb +++ b/spec/lib/omni_auth/strategies/jwt_spec.rb @@ -43,7 +43,7 @@ describe OmniAuth::Strategies::Jwt do end it 'raises error' do - expect { strategy.decoded }.to raise_error(OmniAuth::Strategies::JWT::ClaimInvalid) + expect { strategy.decoded }.to raise_error(OmniAuth::Strategies::Jwt::ClaimInvalid) end end @@ -61,7 +61,7 @@ describe OmniAuth::Strategies::Jwt do end it 'raises error' do - expect { strategy.decoded }.to raise_error(OmniAuth::Strategies::JWT::ClaimInvalid) + expect { strategy.decoded }.to raise_error(OmniAuth::Strategies::Jwt::ClaimInvalid) end end @@ -80,7 +80,7 @@ describe OmniAuth::Strategies::Jwt do end it 'raises error' do - expect { strategy.decoded }.to raise_error(OmniAuth::Strategies::JWT::ClaimInvalid) + expect { strategy.decoded }.to raise_error(OmniAuth::Strategies::Jwt::ClaimInvalid) end end end |