spec/helpers/objection_classes.rb in motion-objection-0.6.1 vs spec/helpers/objection_classes.rb in motion-objection-0.6.2
- old
+ new
@@ -1,7 +1,7 @@
class Car
include Objection
- compose_with :engine, :brakes
+ compose_with :engine, :brakes, factory: JSObjectFactory
end
class Engine
include Objection
singleton