Sevenzo / challenge-platform

The Sevenzo Challenge Platform
https://www.sevenzo.org
0 stars 3 forks source link

Twitter Login Specs #84

Closed stedmanblake closed 8 years ago

stedmanblake commented 8 years ago

Questions:

  1) Facebook OAuth authorization with valid login info for an existing user with same uid/provider redirects to callback
     Failure/Error: expect(response).to redirect_to user_facebook_omniauth_callback_path

       Expected response to be a redirect to <http://www.example.com/users/auth/facebook/callback> but was a redirect to <http://localhost:3000/users/auth/facebook/callback>.
       Expected "http://www.example.com/users/auth/facebook/callback" to be === "http://localhost:3000/users/auth/facebook/callback".
     # ./spec/requests/omniauth_facebook_authorize_spec.rb:77:in `block (3 levels) in <top (required)>'
  2) Facebook OAuth authorization with valid login info for an existing user with same uid/provider redirect to callback does not create a new user
     Failure/Error: expect_any_instance_of(User).not_to receive(:update_from_omniauth)
       User does not implement #update_from_omniauth
     # ./spec/requests/omniauth_facebook_authorize_spec.rb:90:in `block (4 levels) in <top (required)>'