- #Use a different port that doesn't have the OpenID provider running on to test an invalid openID
- post '/login', {'user[openid_url]' => "http://localhost:1124/john.doe", :referer => "/diary"}
+ #Use a different port that doesn't have the OpenID provider running on to test an invalid openID
+ post '/login', {'openid_url' => "http://localhost:1124/john.doe", :referer => "/diary"}
+ assert_response :redirect
+ follow_redirect!