generators/cucumber/cucumber_generator.rb in howitzer-1.1.1 vs generators/cucumber/cucumber_generator.rb in howitzer-2.0.0
- old
+ new
@@ -1,25 +1,25 @@
require_relative '../base_generator'
module Howitzer
+ # This class responsible for Cucumber based files generation
class CucumberGenerator < BaseGenerator
def manifest
{ files:
[
- { source: 'common_steps.rb', destination: 'features/step_definitions/common_steps.rb'},
- { source: 'env.rb', destination: 'features/support/env.rb'},
- { source: 'transformers.rb', destination: 'features/support/transformers.rb'},
- { source: 'example.feature', destination: 'features/example.feature'},
- { source: 'cucumber.rake', destination: 'tasks/cucumber.rake'},
- { source: 'cucumber.yml', destination: 'config/cucumber.yml'}
- ]
- }
+ { source: 'common_steps.rb', destination: 'features/step_definitions/common_steps.rb' },
+ { source: 'env.rb', destination: 'features/support/env.rb' },
+ { source: 'transformers.rb', destination: 'features/support/transformers.rb' },
+ { source: 'example.feature', destination: 'features/example.feature' },
+ { source: 'cucumber.rake', destination: 'tasks/cucumber.rake' }
+ ] }
end
protected
+
def banner
<<-EOS
* Cucumber integration to the framework ...
EOS
end
end
-end
\ No newline at end of file
+end