Re: [rspec-users] Simple Association Redirect on delete

2011-05-02 Thread Canuk
I'm having the (seemingly) exact same issue. Were you able to figure this out? I'm relatively new to rspec and my controller code works, but the test is failing. It seems like it is not able to retrieve a method from the stub. On Feb 28, 7:14 pm, Charley wrote: > I am not sure if I am properly

Re: [rspec-users] Simple Association Redirect on delete

2011-05-02 Thread Canuk
Here is how I ended up getting my test to pass: instead of using a stub/mock, I used a Factory, since that more closely aligned with the actual functionality anyway. On Feb 28, 7:14 pm, Charley wrote: > I am not sure if I am properly using the respond to call as you > suggested. Here is what I tr