add rspec tests

This commit is contained in:
Josh
2018-05-18 11:51:03 -04:00
parent 6cdcd89387
commit f189c98c56
12 changed files with 451 additions and 6 deletions

View File

@ -30,10 +30,10 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
}
})
get "/auth/twitter"
#get "/auth/twitter"
request.env['omniauth.auth'] = OmniAuth.config.mock_auth[:twitter]
get omniauth_session_path(provider: "twitter")
#get omniauth_session_path(provider: "twitter")
user = User.find_by(email: email, uid: uid)