rspec/rspec-rails — pull request #560 by yakko (2012-06-13 03:08:56+00:00)
Title: makes controller tests also work with rails 3 respond_with(model) coding style

Today I decided to only write my resourceful controllers with the new responders implemented in rails 3.
However I got two bugs https://gist.github.com/2921167/0a4f464cd49f45147968fbf3f785a69b16d3b48b
This patch makes the default spec controllers generated on scaffold work with both coding styles.
There were other friends of mine involved in finding this solution.