Fix test
This commit is contained in:
parent
58e21336cd
commit
b7efc4c18b
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ class SessionsTest < ApplicationSystemTestCase
|
|||
login(@user.email)
|
||||
|
||||
visit root_url
|
||||
# Open the user dropdown by clicking the checkbox label
|
||||
find('label[for="user-dropdown"]').click
|
||||
click_on "Log out", match: :first
|
||||
|
||||
assert_text "Session was successfully destroyed"
|
||||
|
|
Loading…
Add table
Reference in a new issue