Class: Bently::FactoryGirlRails
- Inherits:
-
RailsRecipe
- Object
- Recipe
- RubyRecipe
- RailsRecipe
- Bently::FactoryGirlRails
- Defined in:
- lib/bently/recipe/factory-girl-rails.rb
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
-
#initialize ⇒ FactoryGirlRails
constructor
A new instance of FactoryGirlRails.
Methods inherited from RailsRecipe
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Constructor Details
#initialize ⇒ FactoryGirlRails
Returns a new instance of FactoryGirlRails.
9 10 11 12 13 14 15 |
# File 'lib/bently/recipe/factory-girl-rails.rb', line 9 def initialize gem_group :test do gem "factory_girl_rails", "~> 4.0" end bundle create './spec/factories.rb', template('factories.rb') end |