lib/fine_print/engine.rb in fine_print-0.1.1 vs lib/fine_print/engine.rb in fine_print-1.0.0
- old
+ new
@@ -1,5 +1,13 @@
module FinePrint
class Engine < ::Rails::Engine
isolate_namespace FinePrint
+
+ # http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
+ 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
end
end