Permalink
Browse files

removed empty_folder from FeaturesGenerator to prevent rovokation of …

…step_definitions on destroy
  • Loading branch information...
1 parent 26a0eae commit f114bfa6ad7bacb72800adb71281e6028c63bc35 Michael Blake committed Jul 7, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/generators/cucumber/feature/feature_generator.rb
@@ -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 f114bfa

Please sign in to comment.