From 2c785a8ee1fa5ed79238913124aae25d9fc515ca Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 22 Nov 2023 19:04:54 -0500 Subject: [PATCH] Use fixtures in system tests --- test/system/expenses_test.rb | 2 +- test/system/incomes_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/expenses_test.rb b/test/system/expenses_test.rb index abb3fe9..9d162d8 100644 --- a/test/system/expenses_test.rb +++ b/test/system/expenses_test.rb @@ -2,7 +2,7 @@ require "application_system_test_case" class ExpensesTest < ApplicationSystemTestCase setup do - @expense = expenses(:one) + @expense = expenses(:monthly_expense) end test "visiting the index" do diff --git a/test/system/incomes_test.rb b/test/system/incomes_test.rb index ab77bf0..7a6863c 100644 --- a/test/system/incomes_test.rb +++ b/test/system/incomes_test.rb @@ -2,7 +2,7 @@ require "application_system_test_case" class IncomesTest < ApplicationSystemTestCase setup do - @income = incomes(:one) + @income = incomes(:included_1) end test "visiting the index" do