Browse files

fix in oauth return spec

  • Loading branch information...
1 parent 35afcfd commit 7c99caf191a64c7d3d0ca2eac1266d520c38548f Luciano Sousa committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/rails3/spec/controller_oauth2_spec.rb
View
2 spec/rails3/spec/controller_oauth2_spec.rb
@@ -86,7 +86,7 @@ def stub_all_oauth2_requests!
create_new_user
get :login_at_test3
response.should be_a_redirect
- response.should redirect_to("https://github.com/oauth/authorize?response_type=code&client_id=#{::Sorcery::Controller::Config.github.key}&redirect_uri=http%3A%2F%2Fblabla.com&scope=&display=")
+ response.should redirect_to("https://github.com/login/oauth/authorize?response_type=code&client_id=#{::Sorcery::Controller::Config.github.key}&redirect_uri=http%3A%2F%2Fblabla.com&scope=&display=")
end
it "'login_from' logins if user exists (github)" do

0 comments on commit 7c99caf

Please sign in to comment.