Sha256: 43caaa6c20a72ea4be5f23d0ac55c9251bfc59740c14b6ddad8b1d499b8b99b3

Contents?: true

Size: 432 Bytes

Versions: 4

Compression:

Stored size: 432 Bytes

Contents

require_relative '../test_helper'

describe Ebanx::Command::PayoutSimulate do
  it "can't run without arguments" do
    lambda { ebanx.do_payout_simulate }.must_raise ArgumentError
  end
  it "performs a successful" do
    params = { amount: 10.0, country: 'br', currency_code: 'USD' }
    response = ebanx.do_payout_simulate params
    response.http_code.must_equal 200
    response.response['type'].must_equal 'success'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ebanx-1.3.5 test/ebanx/simulate_payout_command_test.rb
ebanx-1.3.4 test/ebanx/simulate_payout_command_test.rb
ebanx-1.3.3 test/ebanx/simulate_payout_command_test.rb
ebanx-1.3.2 test/ebanx/simulate_payout_command_test.rb