Sha256: 658da902178d1fef6b806d1f63b4905afb353a8357930a91440ba69faa044a5d

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

describe Moip2::Auth::Basic do
  let(:basic) do
    described_class.new(
      "01010101010101010101010101010101",
      "ABABABABABABABABABABABABABABABABABABABAB",
    )
  end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moip2-1.3.1 spec/moip2/auth/basic_spec.rb
moip2-1.2.1 spec/moip2/auth/basic_spec.rb
moip2-1.2.0 spec/moip2/auth/basic_spec.rb
moip2-1.1.0 spec/moip2/auth/basic_spec.rb
moip2-1.0.0 spec/moip2/auth/basic_spec.rb