Sha256: 2589ba5ee47dc1b10dab5a586d47b2c19d3b7dfe5c99470b039b254d97b90375

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

require 'rails-observers'

module Feeder
  class Engine < ::Rails::Engine
    isolate_namespace Feeder

    initializer 'tasks.factories', after: 'factory_girl.set_factory_paths' do
      FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feeder-0.5.1 lib/feeder/engine.rb