mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-23 15:19:38 +02:00
* Handle Turbo updates with tabs Fixes #491 * Add Filterable concern for controllers * Add trendline chart * Extract common UI to partials * Series refactor * Put placeholders for calculations in * Add classification generated column to account * Add basic net worth calculation * Add net worth tests * Get net worth graph working * Fix lint errors * Implement asset grouping query * Make trends and series more intuitive * Fully functional dashboard * Remove logging
13 lines
281 B
Ruby
13 lines
281 B
Ruby
require "test_helper"
|
|
|
|
class AccountTest < ActiveSupport::TestCase
|
|
def setup
|
|
@account = accounts(:checking)
|
|
end
|
|
|
|
test "new account should be valid" do
|
|
assert @account.valid?
|
|
assert_not_nil @account.accountable_id
|
|
assert_not_nil @account.accountable
|
|
end
|
|
end
|