Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 104a468896e4b7f908f2d30c078a614f3499f654 2 parents 494a2cc + 61c1a44
Aslak Hellesøy aslakhellesoy authored
2  lib/generators/cucumber/feature/USAGE
View
@@ -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'
3  lib/generators/cucumber/feature/feature_generator.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.