Sha256: 7123888ca12658865009a2cd5d071d0be5bb40d6aa9ba09deab541ef92875ee4

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

describe Moip2::Auth::Basic do

  let(:basic) { described_class.new('01010101010101010101010101010101', 'ABABABABABABABABABABABABABABABABABABABAB') }

  it "builds authorization header" do
    expect(basic.header).to eq "Basic MDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDE6QUJBQkFCQUJBQkFCQUJBQkFCQUJBQkFCQUJBQkFCQUJBQkFCQUJBQg=="
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moip2-0.1.4 spec/moip2/auth/basic_spec.rb
moip2-0.1.3 spec/moip2/auth/basic_spec.rb
moip2-0.1.1 spec/moip2/auth/basic_spec.rb
moip2-0.1.0 spec/moip2/auth/basic_spec.rb