Permalink
Browse files

Merge branch 'master' of github.com:cucumber/cucumber-rails

  • Loading branch information...
2 parents 494a2cc + 61c1a44 commit 104a468896e4b7f908f2d30c078a614f3499f654 @aslakhellesoy aslakhellesoy committed Sep 11, 2011
Showing with 2 additions and 3 deletions.
  1. +1 −1 lib/generators/cucumber/feature/USAGE
  2. +1 −2 lib/generators/cucumber/feature/feature_generator.rb
@@ -1,7 +1,7 @@
Description:
Generates a skeleton for a new feature. Both a simple .feature file and
a steps.rb file is generated. This generator should be used with moderation.
- See http://github.com/aslakhellesoy/cucumber/wikis/feature-coupled-steps-antipattern
+ See https://github.com/cucumber/cucumber/wiki/Feature-Coupled-Steps-(Antipattern)
for details about the dangers involved.
This generator can take an optional list of attribute pairs similar to Rails'
@@ -13,7 +13,6 @@ def parse_fields
end
def generate
- empty_directory 'features/step_definitions'
template 'feature.erb', "features/manage_#{plural_name}.feature"
template 'steps.erb', "features/step_definitions/#{singular_name}_steps.rb"
gsub_file 'features/support/paths.rb', /'\/'/mi do |match|
@@ -25,4 +24,4 @@ def self.banner
"#{$0} cucumber:feature ModelName [field:type, field:type]"
end
end
-end
+end

0 comments on commit 104a468

Please sign in to comment.