Sha256: d903d1e07acda6960f81bb5c309f08c12466fd63fb0d647b9af802c09f5173d0
Contents?: true
Size: 376 Bytes
Versions: 9
Compression:
Stored size: 376 Bytes
Contents
require "test_helper" class ApplicationSystemTestCase < ActionDispatch::SystemTestCase driven_by :selenium, using: :chrome, screen_size: [1400, 1400] def admin_sign_in_as(user) visit admin_sign_in_url fill_in :email, with: user.email fill_in :password, with: "Secret1*3*5*" click_on "Sign in" assert_current_path admin_url return user end end
Version data entries
9 entries across 9 versions & 1 rubygems