Sha256: aa772f4ba29c25d024c105264ee133fa647736050f86b035553142dc439628ad

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

module Tasks
  class Engine < ::Rails::Engine
    isolate_namespace Tasks

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

    initializer 'tasks.inflections' do
      ActiveSupport::Inflector.inflections do |inflect|
        inflect.acronym "URL"
      end
    end

    config.generators do |g|
      g.test_framework :rspec, fixture: false
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
      g.assets false
      g.helper false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 lib/tasks/engine.rb