Pull to concern
This commit is contained in:
parent
cb47e6bb73
commit
28620e27d7
3 changed files with 22 additions and 7 deletions
|
@ -17,6 +17,14 @@ class SessionsTest < ApplicationSystemTestCase
|
|||
end
|
||||
|
||||
test "should destroy Session" do
|
||||
visit new_session_url
|
||||
|
||||
fill_in "Email", with: @user.email
|
||||
fill_in "Password", with: "secret"
|
||||
|
||||
click_on "Create Session"
|
||||
assert_text "Session was successfully created"
|
||||
|
||||
visit root_url
|
||||
click_on "Log out", match: :first
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue