lib/chop/create.rb in chop-0.19.0 vs lib/chop/create.rb in chop-0.20.0

- old
+ new

@@ -22,9 +22,13 @@ register_creation_strategy :factory_girl do |factory, attributes| FactoryGirl.create factory, attributes end + register_creation_strategy :factory_bot do |factory, attributes| + FactoryBot.create factory, attributes + end + attr_accessor :transformations, :deferred_attributes, :after_hooks def initialize(*, &other_block) super self.transformations = []