1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/lib/factory_girl/proxy/create.rb
2011-12-30 00:41:49 -05:00

14 lines
256 B
Ruby

module FactoryGirl
class Proxy #:nodoc:
class Create < Build #:nodoc:
def result
run_callbacks(:after_build)
@to_create[result_instance]
run_callbacks(:after_create)
result_instance
end
end
end
end