Class: Bently::RspecRails

Inherits:
RailsRecipe show all
Defined in:
lib/bently/recipe/rspec-rails.rb

Constant Summary

Constants inherited from RubyRecipe

Bently::RubyRecipe::GEMFILE

Instance Method Summary collapse

Methods inherited from RailsRecipe

#generate, #migrate

Methods inherited from RubyRecipe

#bundle, #gem, #gem_group

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

#initializeRspecRails

Returns a new instance of RspecRails.



10
11
12
13
14
15
16
# File 'lib/bently/recipe/rspec-rails.rb', line 10

def initialize
  gem_group :test, :development do
    gem "rspec-rails", "~> 2.0"
  end
  bundle
  generate 'rspec:install'
end