[rspec-users] What rescue hooks

2009-02-13 Thread Nathan Wilmes
A few of our tests attempt to test controllers with production-style rescuing. Before the current rspec/Rails 2.2.2 combo, it was fairly easy to set up for these tests: it "should throw a 404 for strange actions" do controller.use_rails_error_handling! get :strange_action_name response.shou

Re: [rspec-users] issues with the trunk of rspec-rails

2009-02-12 Thread Nathan Wilmes
1, 2009 at 2:52 PM, nat...@pivotalsf.com > wrote: > > On Feb 10, 8:49 pm, David Chelimsky wrote: > >> On Tue, Feb 10, 2009 at 2:02 PM, Nathan Wilmes > >> wrote: > >> > (3) with_tag is completely broken, as it tries to use the outer class as > >> >

[rspec-users] issues with the trunk of rspec-rails

2009-02-10 Thread Nathan Wilmes
Hi folks, I'm currently in the process of upgrading an old Rails project to the Rails 2.2.2 and the trunk of RSpec, and ran into several issues with rspec-rails. I've come up with workarounds for all of them, but I wanted to report them to hopefully get them into better shape for other folks. (1)