Move extra bills to credit cards
This commit is contained in:
parent
c14a408f9a
commit
0887a5f6b9
38 changed files with 242 additions and 251 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue