Sha256: 50427e0a1fb587c54b83023a61b8b18d45b82ad15fc601d9b26aae175b0083a8
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
require_relative 'test_helper' class GlAccountTest < Skr::TestCase def test_balance gla = skr_gl_accounts(:marketing) assert_equal 3033.28, gla.balance_for( skr_gl_periods(:nov2013) ) assert_equal 3133.28, gla.balance_for( skr_gl_periods(:dec2013) ) assert_equal 0, gla.balance_for( skr_gl_periods(:close2013) ) assert_equal 356.81, gla.balance_for( skr_gl_periods(:jan2014) ) assert_equal -843.61, gla.trial_balance # Our free hats brings the expense account to a negative balance end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-core-0.2 | test/gl_account_test.rb |