Skip to content
Browse files

Minitest and all frameworks supported. Because you configure them nor…

…mally. They are not touched here. +1 for @joedesini
  • Loading branch information...
2 parents f9209eb + fe632cf commit be239891a4e17a740574fa6decfee7ecf065d554 Umur Ozkul committed Aug 29, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/factory_girl_rails/railtie.rb
View
5 lib/factory_girl_rails/railtie.rb
@@ -9,11 +9,8 @@ class Railtie < Rails::Railtie
if generators.options[:rails][:test_framework] == :rspec
generators.fixture_replacement :factory_girl, :dir => 'spec/factories'
- elsif generators.options[:rails][:test_framework] == :mini_test
- generators.test_framework :mini_test, :spec => true, :fixture => false,
- :fixture_replacement => :factory_girl
else
- generators.test_framework :test_unit, :fixture => false, :fixture_replacement => :factory_girl
+ generators.fixture_replacement :factory_girl
end
end

0 comments on commit be23989

Please sign in to comment.
Something went wrong with that request. Please try again.