Sha256: 2d18cc519d50fd328287af393243d717ecd70d4123a5ed4228654fb4accfcf0d
Contents?: true
Size: 748 Bytes
Versions: 1
Compression:
Stored size: 748 Bytes
Contents
# frozen_string_literal: true module TenaDcms class Engine < ::Rails::Engine isolate_namespace TenaDcms config.generators.api_only = true config.generators do |g| g.test_framework :rspec, routing_specs: false g.fixture_replacement :factory_bot g.factory_bot dir: 'spec/factories' end initializer 'tenaDcms.factories', after: 'factory_bot.set_factory_paths' do FactoryBot.definition_file_paths << File.expand_path('../../../spec/factories', __dir__) if defined?(FactoryBot) end initializer :append_migrations do |app| unless app.root.to_s.match(root.to_s + File::SEPARATOR) app.config.paths['db/migrate'].concat(config.paths['db/migrate'].expanded) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tena_dcms-0.1.0 | lib/tena_dcms/engine.rb |