Sha256: f5dee742beb78fb4cbc6d8be6a26cfd4869444a6d53eca70d6a40f35c7b2fe6a
Contents?: true
Size: 805 Bytes
Versions: 5
Compression:
Stored size: 805 Bytes
Contents
require 'rails' module Notifiable class Engine < ::Rails::Engine isolate_namespace Notifiable # use rspec for testing 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 # load decorators config.to_prepare do Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").each do |c| require_dependency(c) end end # append migrations initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths["db/migrate"].expanded.each do |expanded_path| app.config.paths["db/migrate"] << expanded_path end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems