Permalink
Browse files

Don't auto-configure test framework if not rspec

  • Loading branch information...
1 parent 4583093 commit 49b9922cdb0056625fc78c44e24912660b0ff472 @urbanautomaton urbanautomaton committed Jul 2, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/factory_girl_rails/railtie.rb
View
2 lib/factory_girl_rails/railtie.rb
@@ -10,8 +10,6 @@ class Railtie < Rails::Railtie
if options[:test_framework] == :rspec && !options.has_key?(:fixture_replacement)
generators.fixture_replacement :factory_girl
- elsif options[:test_framework] != :rspec
- generators.test_framework :test_unit, :fixture => false, :fixture_replacement => :factory_girl
end
end

0 comments on commit 49b9922

Please sign in to comment.