Class: Rspec::Generators::ExperimentGenerator
- Inherits:
-
Base
- Object
- Base
- Rspec::Generators::ExperimentGenerator
- Defined in:
- lib/generators/rspec/experiment/experiment_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_experiment_spec ⇒ Object
10 11 12 |
# File 'lib/generators/rspec/experiment/experiment_generator.rb', line 10 def create_experiment_spec template 'experiment_spec.rb', File.join('spec/experiments', class_path, "#{file_name}_experiment_spec.rb") end |