spec/transaction_spec.rb in sepa_king-0.2.0 vs spec/transaction_spec.rb in sepa_king-0.3.0

- old
+ new

@@ -60,10 +60,10 @@ it 'should accept valid value' do SEPA::Transaction.should accept(nil, 'ABC-1234/78.0', 'X' * 35, for: :reference) end it 'should not accept invalid value' do - SEPA::Transaction.should_not accept('', 'X' * 36, for: :amount) + SEPA::Transaction.should_not accept('', 'X' * 36, for: :reference) end end context 'Remittance information' do it 'should allow valid value' do