From 8d92534ed2ecbb89a016badf05d93884c0a78167 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 12 Aug 2013 22:09:44 -0400 Subject: [PATCH] fix Transaction spec --- spec/gnucash/transaction_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/gnucash/transaction_spec.rb b/spec/gnucash/transaction_spec.rb index c5da7d5..a5d7bd2 100644 --- a/spec/gnucash/transaction_spec.rb +++ b/spec/gnucash/transaction_spec.rb @@ -27,7 +27,7 @@ module Gnucash context "without errors" do before(:all) do @book = Gnucash.open("spec/books/sample.gnucash") - @txn = @book.find_account_by_full_name("Assets::Current Assets::Cash in Wallet").transactions.first[:txn] + @txn = @book.find_account_by_full_name("Assets::Current Assets::Cash in Wallet").transactions.first end it "keeps track of the transaction description" do