Just upgraded to Rails 3 and Rspec 2? And now when you try and run your tests you get this error:
undefined local variable or method `integrate_views'
That’s an easy one.
For reasons I’ll never fully understand, Rspec 2 is a complete rewrite which doesn’t maintain backwards compatibility with this method call.
The short answer is in each of your controller tests, simply replace integrate_views with render_views.