spec/request/scrubbed_headers_spec.rb in lhc-15.2.1 vs spec/request/scrubbed_headers_spec.rb in lhc-16.0.0.pre.pro2162
- old
+ new
@@ -72,17 +72,9 @@
it 'scrubs nothing' do
LHC.config.scrubs = {}
expect(request.scrubbed_headers).to include(authorization_header)
end
-
- context 'when the bearer_token is nil' do
- let(:bearer_token) { nil }
-
- it 'scrubs nothing' do
- expect(request.scrubbed_headers).to include(authorization_header)
- end
- end
end
context 'basic authentication' do
let(:username) { 'steve' }
let(:password) { 'abcdefg' }