Compare commits
No commits in common. "f2f5161f3f5d97be381c35b39f883eb8f948a615" and "58e21336cdfec1ad40502b730698f6d5e7343101" have entirely different histories.
f2f5161f3f
...
58e21336cd
3 changed files with 2 additions and 4 deletions
|
@ -37,7 +37,7 @@ class CreditCardBillsTest < ApplicationSystemTestCase
|
||||||
|
|
||||||
test "should destroy Credit card bill" do
|
test "should destroy Credit card bill" do
|
||||||
visit credit_card_bill_url(@credit_card_bill)
|
visit credit_card_bill_url(@credit_card_bill)
|
||||||
accept_prompt { click_on "Delete credit card bill", match: :first }
|
click_on "Delete credit card bill", match: :first
|
||||||
|
|
||||||
assert_text "Credit card bill was successfully destroyed"
|
assert_text "Credit card bill was successfully destroyed"
|
||||||
end
|
end
|
||||||
|
|
|
@ -47,7 +47,7 @@ class ExpensesTest < ApplicationSystemTestCase
|
||||||
|
|
||||||
test "should destroy Expense" do
|
test "should destroy Expense" do
|
||||||
visit expense_url(@expense)
|
visit expense_url(@expense)
|
||||||
accept_prompt { click_on "Delete expense", match: :first }
|
click_on "Delete expense", match: :first
|
||||||
|
|
||||||
assert_text "Expense was successfully destroyed"
|
assert_text "Expense was successfully destroyed"
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,8 +15,6 @@ class SessionsTest < ApplicationSystemTestCase
|
||||||
login(@user.email)
|
login(@user.email)
|
||||||
|
|
||||||
visit root_url
|
visit root_url
|
||||||
# Open the user dropdown by clicking the checkbox label
|
|
||||||
find('label[for="user-dropdown"]').click
|
|
||||||
click_on "Log out", match: :first
|
click_on "Log out", match: :first
|
||||||
|
|
||||||
assert_text "Session was successfully destroyed"
|
assert_text "Session was successfully destroyed"
|
||||||
|
|
Loading…
Add table
Reference in a new issue