[rspec-users] Using integrate_views for all controller specs
David Chelimsky
dchelimsky at gmail.com
Mon Jan 17 14:20:57 EST 2011
On Jan 17, 2011, at 12:40 PM, Joe Van Dyk 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
More information about the rspec-users
mailing list