Joe Van Dyk
2011-Jan-17 18:40 UTC
[rspec-users] 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
David Chelimsky
2011-Jan-17 19:20 UTC
[rspec-users] Using integrate_views for all controller specs
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
Seemingly Similar Threads
- Warning: integrate_views and nested description groups
- integrate_views is not executing my views
- rspec mocha and controller specs without integrated_views
- Rails matcher render_template is wrong when using GetText, looking for flexible solution
- Mocking Models in Controller Specs...