Permalink
Browse files

more general... don't set test framework, just fixture replacement

  • Loading branch information...
1 parent f605259 commit fe632cfd9fc31e39aceed476af41a21ee141ffde @jonesdeini jonesdeini committed Aug 28, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/factory_girl_rails/railtie.rb
@@ -10,8 +10,7 @@ class Railtie < Rails::Railtie
if generators.options[:rails][:test_framework] == :rspec
generators.fixture_replacement :factory_girl, :dir => 'spec/factories'
else
- generators.test_framework :mini_test, :spec => true, :fixture => false,
- :fixture_replacement => :factory_girl
+ generators.fixture_replacement :factory_girl
end
end

0 comments on commit fe632cf

Please sign in to comment.