Use new fixtures for controller tests

This commit is contained in:
Andrew Tomaka 2023-11-22 19:04:00 -05:00
parent 05410a0b2e
commit c0e0c4ef8f
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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