Using integrate_views for all controller specs

Is there a way to always use integrate_views for all controller specs?
I hate having to remember to insert that line into each one.

Thanks,
Joe

On Jan 17, 2011, at 12:40 PM, Joe Van D. wrote:

Is there a way to always use integrate_views for all controller specs?
I hate having to remember to insert that line into each one.

rspec-rails-1

Spec::Runner.configure do |c|
c.integrate_views
end

rspec-rails-2

Doc’d on

http://relishapp.com/rspec/rspec-rails/v/2-4/dir/controller-specs/render-views.
RSpec::configure do |c|
c.render_views
end

HTH,
David