Re: [rspec-users] noob question for getting true or false from a function

2008-04-29 Thread Patrick Aljord
ok thanks a lot. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] noob question for getting true or false from a function

2008-04-29 Thread Helder Ribeiro
On Tue, Apr 29, 2008 at 3:06 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Apr 29, 2008, at 12:59 AM, Patrick Aljord wrote: > > > > Hey all, > > > > I have an action that looks like this: > > > > def create > > if using_open_id? > > open_id_authentication(params[:openid_url]) > > els

Re: [rspec-users] noob question for getting true or false from a function

2008-04-28 Thread David Chelimsky
On Apr 29, 2008, at 12:59 AM, Patrick Aljord wrote: Hey all, I have an action that looks like this: def create if using_open_id? open_id_authentication(params[:openid_url]) else password_authentication(params[:email], params[:password]) end end I have a spec that looks li