Sha256: ecde06dceb20b55ee640240b8c4f169544e3c76c81c25bec8ecf981516e10224
Contents?: true
Size: 243 Bytes
Versions: 2
Compression:
Stored size: 243 Bytes
Contents
module SomeRailtie class Railtie < ::Rails::Engine initializer "some_railtie.factories", :after => "factory_bot.set_factory_paths" do FactoryBot.definition_file_paths << File.expand_path('../factories', __FILE__) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
factory_bot_rails-4.8.2 | tmp/aruba/testapp/lib/some_railtie/railties.rb |
factory_bot_rails-1.0.0.alpha | tmp/aruba/testapp/lib/some_railtie/railties.rb |