module AuthenticationHelpers
Public Instance Methods
sign_in_as!(user)
click to toggle source
# File lib/spree_dev_tools/rspec/support/authentication_helpers.rb, line 2 def sign_in_as!(user) visit '/login' fill_in 'Email', with: user.email fill_in 'Password', with: 'secret' click_button 'Log in' end