Class: LtiTemplateBuilder::Rspec
- Defined in:
- lib/lti_template_builder/recipes/rspec/rspec.rb
Instance Attribute Summary
Attributes inherited from Recipe
#after_bundle_commands, #gem_dependencies, #gem_dev_dependencies
Instance Method Summary collapse
Methods inherited from Recipe
#initialize, #render, #template
Constructor Details
This class inherits a constructor from LtiTemplateBuilder::Recipe
Instance Method Details
#setup(args = {}) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/lti_template_builder/recipes/rspec/rspec.rb', line 3 def setup(args={}) @gem_dev_dependencies << ["rspec-rails"] @gem_dev_dependencies << ["capybara"] @gem_dev_dependencies << ["poltergeist"] @after_bundle_commands << "generate 'rspec:install'" @after_bundle_commands << template("add_rspec_to_engine_config") @after_bundle_commands << "generate 'controller test backdoor'" end |