Sha256: 02fc4fb1a89bceb20beca8ab5b8bd6a4f2c82d420346cc1e157c356ea09a5666
Contents?: true
Size: 326 Bytes
Versions: 24
Compression:
Stored size: 326 Bytes
Contents
module AuthenticationHelpers def sign_in_as!(user) visit '/login' fill_in 'Email', with: user.email fill_in 'Password', with: 'secret' click_button 'Log in' end end RSpec.configure do |config| config.include AuthenticationHelpers, type: :feature config.include Rack::Test::Methods, type: :feature end
Version data entries
24 entries across 24 versions & 2 rubygems