test/mt940_ing_test.rb in mt940-0.6.5 vs test/mt940_ing_test.rb in mt940-0.6.6

- old
+ new

@@ -19,19 +19,23 @@ should 'have an amount' do assert_equal -25.03, @transaction.amount end + should 'have a currency' do + assert_equal 'EUR', @transaction.currency + end + should 'have a date' do assert_equal Date.new(2010,7,22), @transaction.date end should 'return its bank' do assert_equal 'Ing', @transaction.bank end should 'have a description' do - assert_equal 'EJ46GREENP100610T1456 CLIEOP TMG GPHONGKONG AMSTERDAM :62F:C100723EUR3,47', @transactions.last.description + assert_equal 'EJ46GREENP100610T1456 CLIEOP TMG GPHONGKONG AMSTERDAM', @transactions.last.description end should 'return the contra_account' do assert_equal '123456789', @transactions.last.contra_account end