[rspec-devel] [cucumber] lib/cucumber/rails/world.rb redefining ActionController::Base#rescue_action
zach.dennis at gmail.com
Tue Mar 24 21:03:28 EDT 2009
On Tue, Mar 24, 2009 at 8:11 PM, Matt Patterson
<matt-lists at reprocessed.org> wrote:
> On 24 Mar 2009, at 23:04, Zach Dennis wrote:
>> 2009/3/24 aslak hellesoy <aslak.hellesoy at gmail.com>:
>>> On Tue, Mar 24, 2009 at 10:46 PM, Matt Patterson
>>> <matt-lists at reprocessed.org> wrote:
>>>> Anyway, sorry to sound so whingey. Like I said: if there's a genuine
>>>> problem this approach solves, I'll find a new idiom and shut up.
>>>> can this be changed?
>> I usually comment those things out in rails/world.rb in cucumber.
> That's what I wound up doing
>>> There is currently no way to turn off that default. Can you provide a
>>> (or a suggestion) that will let users optionally turn off the current
>> A discussion was originally brought up here:
>> I apologize for not being proactive on my end, so far taking out the
>> offending lines on rails/world.rb has worked fine.
> Interesting - I think it should definitely be configurable from Cucumber,
> rather than reuse the RSpec config - I want rescue_action bypassed in RSpec
> and honoured in Cucumber...
> I've had a bit of a poke around and think I can do something along the lines
> of Cucumber::Rails.use_transactional_fixtures
> I'll submit a patch to that Lighthouse ticket in the morning.
I don't know if you have already, but be sure to read through the
related RSpec ticket:
The discussion on that ticket evolved over time and has some good
thoughts that ultimately ended up in RSpec. I think some of those same
considerations would do a Cucumber patch good.
More information about the rspec-devel