Skip to content

Commit

Permalink
factory girl rails must be in development group in order to generate …
Browse files Browse the repository at this point in the history
…a factory when you generate a model
  • Loading branch information
Philippe Van Eerdenbrugghe committed Mar 14, 2012
1 parent 80660fd commit 9530219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/rspec.rb
Expand Up @@ -13,7 +13,7 @@
gem 'machinist', :group => :test
end
if config['factory_girl']
gem 'factory_girl_rails', '>= 1.7.0', :group => :test
gem 'factory_girl_rails', '>= 1.7.0', :group => [:development, :test]
end
# add a collection of RSpec matchers and Cucumber steps to make testing email easy
gem 'email_spec', '>= 1.2.1', :group => :test
Expand Down

0 comments on commit 9530219

Please sign in to comment.