Sha256: c5776ff13896a73c8c3d5810a421011c7674d6131fa353f165f2b343e5ff840d

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

require_relative '../test_helper'

describe Ebanx::Command::GetMerchantAmountBalanceByCountry do
  it 'performs a successful account balance by country' do
    params = { country_abbreviation: 'br' }
    response = ebanx.do_get_merchant_amount_balance_by_country params
    response.http_code.must_equal 200
    response.response['status'].must_equal 'SUCCESS'
  end

  it "can't run without arguments" do
    lambda { ebanx.do_get_merchant_amount_balance_by_country }.must_raise ArgumentError
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ebanx-1.3.1 test/ebanx/get_merchant_amount_balance_by_country_command_test.rb