Sha256: a0530dd734df14ac2bcace07c719ddcd6065142a90e349dcf9e25b1188a19757

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

module ActiveRoad
  if defined?(Rails)
    require "active_road/migration"

    class Engine < ::Rails::Engine

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_road-0.0.2 lib/active_road/engine.rb