Sha256: ab046668c310c3bbe5c7db494020474d9d1963e05031faef55ef12d367706581
Contents?: true
Size: 751 Bytes
Versions: 236
Compression:
Stored size: 751 Bytes
Contents
module Comee module Core class Engine < ::Rails::Engine isolate_namespace Comee::Core 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 "comee_core.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| app.config.paths["db/migrate"].concat(config.paths["db/migrate"].expanded) unless app.root.to_s.match(root.to_s + File::SEPARATOR) end end end end
Version data entries
236 entries across 236 versions & 1 rubygems