Use fixtures in system tests
This commit is contained in:
parent
c0e0c4ef8f
commit
2c785a8ee1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue