Sha256: b1c93a068b406531465b61173a2c22d4863bbdbc264c9387cdbaf49f95d1930a
Contents?: true
Size: 788 Bytes
Versions: 20
Compression:
Stored size: 788 Bytes
Contents
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
20 entries across 20 versions & 1 rubygems