Move extra bills to credit cards

This commit is contained in:
Andrew Tomaka 2023-03-03 18:12:59 -05:00
parent c14a408f9a
commit 0887a5f6b9
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
38 changed files with 242 additions and 251 deletions

View file

@ -14,7 +14,7 @@ class ExpensesTest < ApplicationSystemTestCase
visit expenses_url
click_on "New expense"
check "Autopaid" if @expense.autopaid
check "Credit card" if @expense.credit_card
fill_in "Description", with: @expense.description
check "Estimated" if @expense.estimated
fill_in "Payment", with: @expense.payment
@ -29,7 +29,7 @@ class ExpensesTest < ApplicationSystemTestCase
visit expense_url(@expense)
click_on "Edit this expense", match: :first
check "Autopaid" if @expense.autopaid
check "Credit card" if @expense.credit_card
fill_in "Description", with: @expense.description
check "Estimated" if @expense.estimated
fill_in "Payment", with: @expense.payment