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
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.
Spec::Runner.configure do |c|
c.integrate_views
end
http://relishapp.com/rspec/rspec-rails/v/2-4/dir/controller-specs/render-views.
RSpec::configure do |c|
c.render_views
end
HTH,
David
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs