Class: Bently::MinitestRails

Inherits:
RailsRecipe show all
Defined in:
lib/bently/recipe/minitest-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

#initializeMinitestRails

Returns a new instance of MinitestRails.



8
9
10
11
12
# File 'lib/bently/recipe/minitest-rails.rb', line 8

def initialize
  requirement 'Create a new rails app without Test::Unit: `rails new MyApp --skip-test-unit`'
  gem 'minitest-rails'
  bundle
end