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

15 lines
256 B
Ruby
Raw Normal View History

module FactoryGirl
2009-01-02 16:39:24 -05:00
class Proxy #:nodoc:
2009-02-17 16:38:15 -05:00
class Create < Build #:nodoc:
2011-12-06 17:26:48 -05:00
def result
run_callbacks(:after_build)
2011-12-06 17:26:48 -05:00
@to_create[result_instance]
2009-10-10 00:46:19 -04:00
run_callbacks(:after_create)
result_instance
2008-12-23 14:03:29 -05:00
end
end
end
end