Re: [rspec-users] spec for authenticated user

2009-05-28 Thread Nick Hoffman
> -Original Message- > From: rspec-users-boun...@rubyforge.org > [mailto:rspec-users-boun...@rubyforge.org] On Behalf Of David Chelimsky > Sent: Wednesday, May 27, 2009 5:55 PM > To: rspec-users > Subject: Re: [rspec-users] spec for authenticated user >>   befo

Re: [rspec-users] spec for authenticated user

2009-05-27 Thread Diwakar, ANGLER - EIT
ated user is required.' ) end end end -Original Message- From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-boun...@rubyforge.org] On Behalf Of David Chelimsky Sent: Wednesday, May 27, 2009 5:55 PM To: rspec-users Subject: Re: [rspec-users] spec for authentica

Re: [rspec-users] spec for authenticated user

2009-05-27 Thread David Chelimsky
On Wed, May 27, 2009 at 7:08 AM, Diwakar, ANGLER - EIT wrote: >   before_filter :requires_user, >    :except => :create > >  def show >   #--- > >     # the currently authenticated user >     @user = user > >   end > > How shall we check the currently authenticated user using rspec

[rspec-users] spec for authenticated user

2009-05-27 Thread Diwakar, ANGLER - EIT
before_filter :requires_user, :except => :create def show #--- # the currently authenticated user @user = user end How shall we check the currently authenticated user using rspec? ___ rspec-users mailing list