lib/knowledge_base/engine.rb in knowledge_base-0.0.3 vs lib/knowledge_base/engine.rb in knowledge_base-0.1.0

- old
+ new

@@ -3,9 +3,15 @@ module KnowledgeBase class Engine < ::Rails::Engine isolate_namespace KnowledgeBase + config.to_prepare do + Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").each do |c| + require_dependency(c) + 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