- assert_redirected_to auth_path(:provider => "openid", :openid_url => "https://www.google.com/accounts/o8/id", :origin => "/account")
+ assert_redirected_to auth_path(:provider => "google", :origin => "/account")
+ follow_redirect!
+ assert_response :redirect
+ assert_redirected_to %r{^https://accounts.google.com/o/oauth2/auth\?.*}