Re: [rspec-users] Render expectation in Controller spec

2011-07-15 Thread David Chelimsky
I moved your post to the bottom - please post either at the bottom or inline so we can follow the conversation more easily. On Jul 15, 2011, at 6:06 AM, Chandu80 wrote: > On Jul 14, 5:30 pm, David Chelimsky wrote: >> On Jul 14, 2011, at 6:34 AM, Chandrika Shenoy wrote: >> >>> Hello All, >> >>>

Re: [rspec-users] Render expectation in Controller spec

2011-07-15 Thread Chandu80
Hi David, Sorry about not pasting the createchannel method earlier,here is the revised controller method. http://pastie.org/2217223 I am trying to test the createchannelpage method which is in the Channels Controller.The createchannelpage renders the createchannel action when the checkChannel? r

Re: [rspec-users] Render expectation in Controller spec

2011-07-14 Thread David Chelimsky
On Jul 14, 2011, at 6:34 AM, Chandrika Shenoy wrote: > Hello All, > > I am a rspec beginner and I am trying to find a way out to write render > expectation in controller spec.All methods that I used seem to give me a > No Method error. > > My controller code is as follows > http://pastie.org/221

[rspec-users] Render expectation in Controller spec

2011-07-14 Thread Chandrika Shenoy
Hello All, I am a rspec beginner and I am trying to find a way out to write render expectation in controller spec.All methods that I used seem to give me a No Method error. My controller code is as follows http://pastie.org/2211944 and my controller test is as follows http://pastie.org/2211951