On Wed, Jul 29, 2009 at 8:51 AM, norm wrote:
> wow, thanks for the tips David. I'm using both the stub!() and the
> should_receive() because, as a complete RSpec neophyte, that's what I
> thought was required! (And it seemed to work, too!).
>
> I didn't suspect the controller code, because it's cod
wow, thanks for the tips David. I'm using both the stub!() and the
should_receive() because, as a complete RSpec neophyte, that's what I
thought was required! (And it seemed to work, too!).
I didn't suspect the controller code, because it's code that works.
But with your suggestion, I found the di
On Tue, Jul 28, 2009 at 1:44 PM, norm wrote:
> My grad_surveys_controller has a student_edit method. An id parameter
> is passed in the url and a token is passed in a query string. For
> example:
>
> http://www.example.com/students/34/grad_surveys/21/student_edit?token=ab56e1b47
> so the
My grad_surveys_controller has a student_edit method. An id parameter
is passed in the url and a token is passed in a query string. For
example:
http://www.example.com/students/34/grad_surveys/21/student_edit?token=ab56e1b47
so the params hash should contain
{"controller"=>"grad_surveys"