mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Nested Categories (#1561)
* Prepare entry search for nested categories * Subcategory implementation * Remove caching for test stability
This commit is contained in:
parent
a4d10097d5
commit
77def1db40
31 changed files with 297 additions and 234 deletions
|
@ -63,10 +63,6 @@ class Account::EntryTest < ActiveSupport::TestCase
|
|||
|
||||
assert_equal 2, family.entries.search(params).size
|
||||
|
||||
params = params.merge(categories: [ category.name ], merchants: [ merchant.name ]) # transaction specific search param
|
||||
|
||||
assert_equal 1, family.entries.search(params).size
|
||||
|
||||
params = { search: "%" }
|
||||
assert_equal 0, family.entries.search(params).size
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue