GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
fixed openid specs
bobesponja (author)
Sun Jun 01 12:32:37 -0700 2008
commit  5f8e0b2ace0bd7a679b2a94426e952719c66c9ce
tree    eec424490677432611b5f03be5a09f542cf98656
parent  3d25d33d324f836a67e719260f7e7e1978222440
...
21
22
23
24
25
 
 
26
27
28
...
21
22
23
 
 
24
25
26
27
28
0
@@ -21,8 +21,8 @@ describe SessionsController do
0
   it "should login with openid and redirect" do
0
     identity_url = "http://patcito.myopenid.com"
0
     controller.stub!(:using_open_id?).and_return(true)
0
- controller.stub!(:successful?).and_return(true)
0
- controller.stub!(:authenticate_with_open_id).and_yield(Result[:successful],identity_url,registration={:nickname=>"patcito",:email=>"patcito@gmail.com",:fullname=>'Patrick Aljord'})
0
+ controller.stub!(:successful?).and_return(false)
0
+ controller.stub!(:authenticate_with_open_id).and_yield(Result[:successful],identity_url,registration={'nickname'=>"patcito",'email'=>"patcito@gmail.com",'fullname'=>'Patrick Aljord'})
0
     post :create, :openid_url => identity_url
0
     session[:user_id].should_not be(nil)
0
     response.should be_redirect

Comments

    No one has commented yet.