[rspec-users] has_many_polymorphs is breaking my testing
toastkid.williams at gmail.com
Wed Feb 27 07:12:20 EST 2008
I have a class Property that was testing fine until i added the following to
:from => [:instructional_objects, :lessons, :courses],
:through => :labels,
:dependent => :destroy
(in other words, 'labels' is a join table through which various objects can
be labelled with a property)
Now my spec file crashes, saying that Property isn't defined in property.rb:
does anyone know what's gone wrong here?
define Property (LoadError)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users