Prepare fixture data for account sync tests (#493)

* 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
This commit is contained in:
Zach Gollwitzer
2024-02-27 12:43:49 -05:00
committed by GitHub
parent d3b326d273
commit 7d48c01833
37 changed files with 230 additions and 265 deletions

View File

@@ -2,7 +2,7 @@ require "test_helper"
class CurrentTest < ActiveSupport::TestCase
test "family returns user family" do
user = users(:bob)
user = users(:family_admin)
Current.user = user
assert_equal user.family, Current.family
end