mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
* Rename account balance field for clarity `original_balance` and `original_currency` may infer that these values are "original" to the account. In reality, they represent the "current" balance and currency on the account. * Prepare fixture data for account sync testing * Update to new field * Fix conflicts * Remove local schema change
9 lines
217 B
Ruby
9 lines
217 B
Ruby
require "test_helper"
|
|
|
|
class CurrentTest < ActiveSupport::TestCase
|
|
test "family returns user family" do
|
|
user = users(:family_admin)
|
|
Current.user = user
|
|
assert_equal user.family, Current.family
|
|
end
|
|
end
|