Fix broken system tests (#4)
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #4
This commit is contained in:
Andrew Tomaka 2023-07-10 23:09:57 -04:00
parent c3e8478840
commit e8a42f9c82
5 changed files with 9 additions and 9 deletions

View file

@ -18,7 +18,7 @@ class ExpensesTest < ApplicationSystemTestCase
fill_in "Description", with: @expense.description
check "Estimated" if @expense.estimated
fill_in "Payment", with: @expense.payment
fill_in "Period", with: @expense.period
select @expense.period.capitalize, from: "Period"
click_on "Create Expense"
assert_text "Expense was successfully created"
@ -33,7 +33,7 @@ class ExpensesTest < ApplicationSystemTestCase
fill_in "Description", with: @expense.description
check "Estimated" if @expense.estimated
fill_in "Payment", with: @expense.payment
fill_in "Period", with: @expense.period
select @expense.period.capitalize, from: "Period"
click_on "Update Expense"
assert_text "Expense was successfully updated"