lib/motion-resource/spec_helpers.rb in motion-resource-0.1.0 vs lib/motion-resource/spec_helpers.rb in motion-resource-0.1.1

- old
+ new

@@ -6,10 +6,10 @@ end end def forget_instances_of(klass) klass.identity_map.clear - klass.subclasses.each do |subklass| + klass.descendants.each do |subklass| forget_instances_of(subklass) end end end end