Class: SpecHarnessGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SpecHarnessGenerator
- Defined in:
- lib/generators/spec_harness/spec_harness_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_harness ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/generators/spec_harness/spec_harness_generator.rb', line 10 def generate_harness generate 'harness_spec_helper' required_spec_types.each do |type| generate "harness_spec_helper #{type}" end generate "harness_guardfile --watch_types=#{watch_types}" if .guardfile? generate 'harness_gems' if .gems? end |