mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 07:18:14 -05:00
added open id support via omniauth
This commit is contained in:
committed by
José Valim
parent
94622054de
commit
bf19b15914
@@ -34,4 +34,9 @@ class OmniAuthRoutesTest < ActionController::TestCase
|
||||
@controller.omniauth_authorize_path(:user, :github)
|
||||
end
|
||||
end
|
||||
|
||||
test 'should generate authorization path with params' do
|
||||
assert_match "/users/auth/open_id?openid_url=http%3A%2F%2Fyahoo.com",
|
||||
@controller.omniauth_authorize_path(:user, :open_id, :openid_url => "http://yahoo.com")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user