Skip to content

Commit

Permalink
factory_girl_rails <3 minitest spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesdeini committed Aug 27, 2012
1 parent d6a973f commit f605259
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/factory_girl_rails/railtie.rb
Expand Up @@ -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

Expand Down

0 comments on commit f605259

Please sign in to comment.