Sha256: a02a0a47966af3613412944caa63917feeea9dec2812a6ecba262ac4d63c190c

Contents?: true

Size: 214 Bytes

Versions: 12

Compression:

Stored size: 214 Bytes

Contents

Rails.configuration.after_initialize do
  FactoryGirl.definition_file_paths = [
    File.join(Rails.root, 'test', 'factories'),
    File.join(Rails.root, 'spec', 'factories')
  ]
  FactoryGirl.find_definitions
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
factory_girl-2.0.5 lib/factory_girl/rails2.rb
factory_girl-2.0.4 lib/factory_girl/rails2.rb
factory_girl-2.0.3 lib/factory_girl/rails2.rb
factory_girl-2.0.2 lib/factory_girl/rails2.rb
factory_girl-2.0.1 lib/factory_girl/rails2.rb
factory_girl-2.0.0.rc4 lib/factory_girl/rails2.rb
factory_girl-2.0.0.rc3 lib/factory_girl/rails2.rb
factory_girl-2.0.0.rc2 lib/factory_girl/rails2.rb
factory_girl-2.0.0.rc1 lib/factory_girl/rails2.rb
factory_girl-2.0.0.beta5 lib/factory_girl/rails2.rb
factory_girl-2.0.0.beta4 lib/factory_girl/rails2.rb
factory_girl-2.0.0.beta3 lib/factory_girl/rails2.rb