Sha256: 758689558d4feb693185a9a8fe95bdefabee68ca00c70a3f1127b62bd9e79cb6

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe SEPA::CreditTransaction do
  it 'should initialize a new transaction' do
    lambda{
      SEPA::CreditTransaction.new :name                   => 'Telekomiker AG',
                                  :iban                   => 'DE37112589611964645802',
                                  :bic                    => 'PBNKDEFF370',
                                  :amount                 => 102.50,
                                  :reference              => 'XYZ-1234/123',
                                  :remittance_information => 'Rechnung 123 vom 22.08.2013'
    }.should_not raise_error
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sepa_king-0.0.3 spec/sepa_king/credit_transaction_spec.rb
sepa_king-0.0.2 spec/sepa_king/credit_transaction_spec.rb