Sha256: 3c137b085b6af09a8af1c3f41e23d11d75733e4a649bfbc36baef55a14f828a6

Contents?: true

Size: 515 Bytes

Versions: 12

Compression:

Stored size: 515 Bytes

Contents

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

  let(:id) { '1182' }
  let(:request) { described_class.new }

  let(:params) do
    {
      id: id,
      attribute: {
        bik: '044525225',
        account: '30301810000006000001',
        bank: 'ФИЛИАЛ "БАЙКОНУР" ОАО "СОБИНБАНК"'
      }
    }
  end

  before { request.fill(params) }

  subject { service.edit_bank_account(request) }

  its(:success) { is_expected.to be_truthy }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
moneta-api-1.11.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.10.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.9.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.8.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.7.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.6.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.5.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.4.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.3.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.2.1 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.2.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb
moneta-api-1.1.0 spec/lib/moneta/api/requests/edit_bank_account_request_spec.rb