mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 11:34:13 +00:00
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:
@@ -2,8 +2,8 @@ require "test_helper"
|
||||
|
||||
class TransactionsControllerTest < ActionDispatch::IntegrationTest
|
||||
setup do
|
||||
sign_in @user = users(:bob)
|
||||
@transaction = transactions(:one)
|
||||
sign_in @user = users(:family_admin)
|
||||
@transaction = transactions(:checking_one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
|
||||
Reference in New Issue
Block a user