Sha256: e3276e57ea11c4ac5c61e92885490d6407c31f9105c2025747cc887b4c97262a
Contents?: true
Size: 622 Bytes
Versions: 12
Compression:
Stored size: 622 Bytes
Contents
require 'spec_helper' describe WirecardSepa::Config do let(:config) { described_class.new(valid_params) } let(:valid_params) do { api_url: 'http://example.com', http_auth_username: 'alice', http_auth_password: 'secret', merchant_account_id: '123', creditor_id: '31415', } end describe '#http_auth_username' do it 'returns the http auth username' do expect(config.http_auth_username).to eq 'alice' end end describe '#http_auth_password' do it 'returns the http auth password' do expect(config.http_auth_password).to eq 'secret' end end end
Version data entries
12 entries across 12 versions & 1 rubygems