Sha256: bf166867d8938dd6ff957657e181b7ceae399b6453491f0f5ee0f3d202ca5522
Contents?: true
Size: 606 Bytes
Versions: 60
Compression:
Stored size: 606 Bytes
Contents
require "application_system_test_case" class SessionsTest < ApplicationSystemTestCase setup do @user = users(:lazaro_nixon) end test "visiting the index" do sign_in_as @user click_on "Devices & Sessions" assert_selector "h1", text: "Sessions" end test "signing in" do visit sign_in_url fill_in "Email", with: @user.email fill_in "Password", with: "Secret1*3*5*" click_on "Sign in" assert_text "Signed in successfully" end test "signing out" do sign_in_as @user click_on "Log out" assert_text "That session has been logged out" end end
Version data entries
60 entries across 60 versions & 1 rubygems