Use new fixtures for controller tests
This commit is contained in:
parent
05410a0b2e
commit
c0e0c4ef8f
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ require "test_helper"
|
||||||
|
|
||||||
class ExpensesControllerTest < ActionDispatch::IntegrationTest
|
class ExpensesControllerTest < ActionDispatch::IntegrationTest
|
||||||
setup do
|
setup do
|
||||||
@expense = expenses(:one)
|
@expense = expenses(:monthly_expense)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "should get index" do
|
test "should get index" do
|
||||||
|
|
|
@ -2,7 +2,7 @@ require "test_helper"
|
||||||
|
|
||||||
class IncomesControllerTest < ActionDispatch::IntegrationTest
|
class IncomesControllerTest < ActionDispatch::IntegrationTest
|
||||||
setup do
|
setup do
|
||||||
@income = incomes(:one)
|
@income = incomes(:included_1)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "should get index" do
|
test "should get index" do
|
||||||
|
|
Loading…
Reference in a new issue