Class: Bently::CucumberRails

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

Constant Summary

Constants inherited from RubyRecipe

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

#initializeCucumberRails

Returns a new instance of CucumberRails.



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

def initialize
  gem_group :test, :development do
    gem "cucumber-rails", :require => false
    gem "database_cleaner"
  end
  bundle
  generate 'cucumber:install'
end