Module: Omniauth::SessionHelpers

Defined in:
lib/generators/testing/configure/templates/spec/omniauth/support/helpers/omniauth.rb

Instance Method Summary collapse

Instance Method Details

#signinObject



21
22
23
24
25
26
27
28
# File 'lib/generators/testing/configure/templates/spec/omniauth/support/helpers/omniauth.rb', line 21

def 
  visit root_path
  page.should have_content("Sign in")
  click_link "Sign in"
  auth_mock
  fill_in 'user_email', with: '[email protected]'
  click_button "Sign in"
end