Sha256: a260f4c5adce4072e57d67c021b96ee238b8c189da603571dfd790dc9c30a096
Contents?: true
Size: 412 Bytes
Versions: 6
Compression:
Stored size: 412 Bytes
Contents
# This generator bootstraps a Rails project for use with Cucumber class FeatureGenerator < Rails::Generator::NamedBase def manifest record do |m| m.directory 'features/steps' m.template 'feature.erb', "features/manage_#{plural_name}.feature" m.template 'steps.erb', "features/steps/#{singular_name}_steps.rb" end end protected def banner "Usage: #{$0} cucumber" end end
Version data entries
6 entries across 6 versions & 3 rubygems