Fix broken system tests (#4)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
This commit is contained in:
parent
c3e8478840
commit
e8a42f9c82
5 changed files with 9 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue