[rspec-users] ordering dependency in tests?

Fearless Fool lists at ruby-forum.com
Thu Feb 24 13:58:03 EST 2011

David Chelimsky wrote in post #983690:
>>    RESIDENTIAL = self.create(:name => "residential")
> ^^ this is probably the problem ^^
> ...

Ah!  got it.  FWIW, I wrote a query to the Rails group several months 
ago wondering if this construct was legit and got feedback that it was 
legit.  Your explanation makes good sense.  I'll change that and see 
what happens.

If you don't hear back from me, assume it's working! ;)  And thanks in 

- ff

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list