require 'coderay' require 'dynamic_form' require 'kaminari' module Clipster class Engine < ::Rails::Engine isolate_namespace Clipster # so we can use rspec generators config.generators do |g| g.test_framework :rspec, :fixture => false g.integration_tool :rspec g.fixture_replacement :factory_girl, :dir=>"spec/factories" end end def self.config (&block) @@config ||= Clipster::Configuration.new yield @@config if block return @@config end end