Add some model tests (#9)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
This commit is contained in:
parent
dd881ee41c
commit
e1a7f4fbbd
11 changed files with 113 additions and 37 deletions
30
test/fixtures/expenses.yml
vendored
30
test/fixtures/expenses.yml
vendored
|
@ -1,15 +1,29 @@
|
|||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
description: MyString
|
||||
payment: 9.99
|
||||
period: 1
|
||||
monthly_expense:
|
||||
description: Monthly Expense
|
||||
payment: 120.00
|
||||
period: monthly
|
||||
credit_card: true
|
||||
estimated: false
|
||||
|
||||
annual_expense:
|
||||
description: Annual Expense
|
||||
payment: 120.00
|
||||
period: annually
|
||||
credit_card: true
|
||||
estimated: false
|
||||
|
||||
weekly_expense:
|
||||
description: Weekly Expense
|
||||
payment: 120.00
|
||||
period: weekly
|
||||
credit_card: false
|
||||
estimated: false
|
||||
|
||||
two:
|
||||
description: MyString
|
||||
payment: 9.99
|
||||
period: 1
|
||||
quarterly_expense:
|
||||
description: Quarterly Expense
|
||||
payment: 120.00
|
||||
period: quarterly
|
||||
credit_card: false
|
||||
estimated: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue