Re: [rspec-users] HowTo Specify A Method is Called Within A Controller's Action

2009-05-16 Thread David Chelimsky
On Sat, May 16, 2009 at 1:08 AM, Lee Longmore wrote: > > I am new to RSpec and would appreciate some pointers on how to specify the > following for my Rails application... > > I have a controller called ContextsController and, within this, the usual > 'create' method. The first line of this method

Re: [rspec-users] HowTo Specify A Method is Called Within A Controller's Action

2009-05-16 Thread Phlip
Lee Longmore wrote: I have a controller called ContextsController and, within this, the usual 'create' method. The first line of this method should be: @member = logged_in_member where logged_in_member is a method that, for simplicity's sake, is a private method of the ContextsController and

[rspec-users] HowTo Specify A Method is Called Within A Controller's Action

2009-05-15 Thread Lee Longmore
I am new to RSpec and would appreciate some pointers on how to specify the following for my Rails application... I have a controller called ContextsController and, within this, the usual 'create' method. The first line of this method should be: @member = logged_in_member where logged_in_memb