mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 06:55:21 +02:00
Add initial model tests with starter fixtures for User, Family, and Account (#281)
* Add initial user fixture * Add initial tests for the User model * Add initial tests for Family and a valid Account * Pass rubocop
This commit is contained in:
parent
472746df06
commit
69698d0463
6 changed files with 107 additions and 35 deletions
21
test/fixtures/accounts.yml
vendored
21
test/fixtures/accounts.yml
vendored
|
@ -1,11 +1,14 @@
|
|||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
dylan_checking:
|
||||
family: dylan_family
|
||||
name: Bob's Checking
|
||||
balance: 1200
|
||||
|
||||
one:
|
||||
family: one
|
||||
name: MyString
|
||||
balance:
|
||||
dylan_roth:
|
||||
family: dylan_family
|
||||
name: Bob's Roth IRA
|
||||
balance: 1200
|
||||
|
||||
two:
|
||||
family: two
|
||||
name: MyString
|
||||
balance:
|
||||
richards_savings:
|
||||
family: richards_family
|
||||
name: Keef's HYSA
|
||||
balance: 1500
|
Loading…
Add table
Add a link
Reference in a new issue