Permalink
Browse files

factory_girl_rails <3 minitest spec

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

0 comments on commit f605259

Please sign in to comment.