turkan
2010-Nov-16 18:43 UTC
[rspec-users] should_receive(:render).with(some_option) not working
Hello. As some former posts already mentioned there is some difficulty to test the render method when also checking for arguments: http://jdfrens.blogspot.com/2010/08/upgrading-to-rails-3-and-rspec-2-part_20.html http://rails-bestpractices.com/questions/17-test-the-render-method-in-a-controller-with-rspec http://groups.google.com/group/rspec/browse_thread/thread/a458272b4f35110c/71d60bbd20d77b9e?lnk=gst&q=render#71d60bbd20d77b9e Is there an official issue report to drag that problem? Is there a workaround? Best regards, Kai