[rspec-users] Cucumber and fixtures/FixtureReplacement

Tim Glen tim at pivotib.com
Tue Sep 9 14:43:00 EDT 2008

>> Before do
>> self.extend(FixtureReplacement)
>> end
> I had previously tried this right in the steps file:
> Before do
>  self.include(FixtureReplacement)
> end

Actually - this turned out to almost the right thing. I just added  
this to my env.rb:
`include FixtureReplacement`

Wrapping it in the Before block didn't work. Removing it from the  
block did.

take care,

More information about the rspec-users mailing list