Re: [rspec-users] Specifying which spec types helper modules get included into in the RSpec.configure block

2010-08-15 Thread John Firebaugh
On Jul 30, 9:14 am, S Bennett wrote: > Am I doing something wrong or has the syntax for specifying which spec > types the modules get included into changed? I have the same problem. I filed an issue: http://github.com/rspec/rspec-rails/issues/issue/159 ___

Re: [rspec-users] issue with rescue_action_in_public! and testing 404 responses

2010-08-15 Thread John Firebaugh
On Aug 9, 7:21 pm, David Chelimsky wrote: > It's up to you to handle the error in the controller. Something like this in > ApplicationController: > >   rescue_from ActiveRecord::RecordNotFound do >     render '/404.html', :layout => false, :status => :not_found >   end Actually, I believe this i