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,
tim
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to