Sha256: ecb4e7900bf45df9777b47cd50569ce3c78362b4d09d4e8b2670b3286af77e7d
Contents?: true
Size: 336 Bytes
Versions: 73
Compression:
Stored size: 336 Bytes
Contents
module CapybaraSignIn include ::Warden::Test::Helpers if defined?(Warden) def sign_out logout end def sign_in(user) sign_out visit(new_user_session_path) fill_in "user_email", with: user.email fill_in "user_password", with: user.password find("[type=submit]").click end end World(CapybaraSignIn)
Version data entries
73 entries across 73 versions & 1 rubygems