fix Transaction spec

This commit is contained in:
Josh Holtrop 2013-08-12 22:09:44 -04:00
parent 3828247993
commit 8d92534ed2

View File

@ -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