Fix warning message
All checks were successful
Ruby CI / test (pull_request) Successful in 19s

This commit is contained in:
Andrew Tomaka 2025-06-16 22:34:13 -04:00
parent b7efc4c18b
commit f2f5161f3f
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ class CreditCardBillsTest < ApplicationSystemTestCase
test "should destroy Credit card bill" do
visit credit_card_bill_url(@credit_card_bill)
click_on "Delete credit card bill", match: :first
accept_prompt { click_on "Delete credit card bill", match: :first }
assert_text "Credit card bill was successfully destroyed"
end

View file

@ -47,7 +47,7 @@ class ExpensesTest < ApplicationSystemTestCase
test "should destroy Expense" do
visit expense_url(@expense)
click_on "Delete expense", match: :first
accept_prompt { click_on "Delete expense", match: :first }
assert_text "Expense was successfully destroyed"
end