Skip to content

Commit

Permalink
Recipe for factory_girl
Browse files Browse the repository at this point in the history
  • Loading branch information
kfaustino committed Jul 20, 2010
1 parent 3f7cc81 commit 8295a7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions recipes/factory_girl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem 'factory_girl_rails', :group => :test
8 changes: 3 additions & 5 deletions templater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

initialize_templater

apply recipe('default')
apply recipe('jquery')
apply recipe('mongoid')
apply recipe('haml')
apply recipe('rspec')
required_recipes = %w(default jquery mongoid haml rspec factory_girl)
required_recipes.each {|required_recipe| apply recipe(required_recipe)}

run 'bundle install'

Expand All @@ -17,6 +14,7 @@
generators_configuration = <<-END
config.generators do |g|
g.template_engine :haml
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
end
END

Expand Down

0 comments on commit 8295a7d

Please sign in to comment.