mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
Account:: namespace simplifications and cleanup (#2110)
* Flatten Holding model * Flatten balance model * Entries domain renames * Fix valuations reference * Fix trades stream * Fix brakeman warnings * Fix tests * Replace existing entryable type references in DB
This commit is contained in:
@@ -58,8 +58,8 @@ class TransactionImportTest < ActiveSupport::TestCase
|
||||
|
||||
@import.reload
|
||||
|
||||
assert_difference -> { Account::Entry.count } => 3,
|
||||
-> { Account::Transaction.count } => 3,
|
||||
assert_difference -> { Entry.count } => 3,
|
||||
-> { Transaction.count } => 3,
|
||||
-> { Tag.count } => 1,
|
||||
-> { Category.count } => 1,
|
||||
-> { Account.count } => 1 do
|
||||
|
||||
Reference in New Issue
Block a user