On Sat, Jan 10, 2009 at 1:59 PM, David Richards <dricha...@showcase60.com> wrote: > > Can someone explain why there would be different behavior between > running one file and many files and before(:each) vs. before(:all)? > As far as I understand it, I thought before(:all) was supposed to > always run before a group of specs.
It does, but not necessarily _immediately_ before. My rough guess would be that something in one of your other spec files called code that that required or reloaded FasterCSV, which blew away your stub when those other spec files were initialized after after this one. State changes hurt. -- Have Fun, Steve Eley (sfe...@gmail.com) ESCAPE POD - The Science Fiction Podcast Magazine http://www.escapepod.org _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users