Sha256: 0d16c97195c923a50790a1cbff2866441fc3b1eed8ae1062e67112fc20442677
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true RSpec.describe FinApps::Middleware::NoEncodingBasicAuthentication do let(:valid_credentials) { VALID_CREDENTIALS } describe '.header' do it 'does not encode the values' do actual_token = FinApps::Middleware::NoEncodingBasicAuthentication.header(valid_credentials[:token]) expect(actual_token).to eq("Basic #{valid_credentials[:token]}") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
finapps-2.1.1 | spec/middleware/request/no_encoding_basic_authentication_spec.rb |