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
|
@ -2,7 +2,7 @@ require "test_helper"
|
|||
|
||||
class ExpensesControllerTest < ActionDispatch::IntegrationTest
|
||||
setup do
|
||||
@expense = expenses(:one)
|
||||
@expense = expenses(:monthly_expense)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
|
|
|
@ -2,7 +2,7 @@ require "test_helper"
|
|||
|
||||
class IncomesControllerTest < ActionDispatch::IntegrationTest
|
||||
setup do
|
||||
@income = incomes(:one)
|
||||
@income = incomes(:included_1)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue