Sha256: aa583a31ce694ca8872a85789ca0a467d1c3b43af8cbcd784c53e028847b1cd8

Contents?: true

Size: 412 Bytes

Versions: 26

Compression:

Stored size: 412 Bytes

Contents

describe Moneta::Api::Requests::CreateBankAccountRequest, vcr: true do
  include_context 'moneta'

  let(:params) do
    {
      attribute: {
        bik: '044525225',
        account: '30301810000006000001'
      }
    }
  end

  let(:request) { described_class.new }

  before { request.fill(params) }

  subject { service.create_bank_account(request) }

  its(:id) { is_expected.to be_a_bank_account_id }
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
moneta-api-1.5.0 spec/lib/moneta/api/requests/create_bank_account_request_spec.rb
moneta-api-1.4.0 spec/lib/moneta/api/requests/create_bank_account_request_spec.rb
moneta-api-1.3.0 spec/lib/moneta/api/requests/create_bank_account_request_spec.rb
moneta-api-1.2.1 spec/lib/moneta/api/requests/create_bank_account_request_spec.rb
moneta-api-1.2.0 spec/lib/moneta/api/requests/create_bank_account_request_spec.rb
moneta-api-1.1.0 spec/lib/moneta/api/requests/create_bank_account_request_spec.rb