lib/cucumber/sinatra/generators.rb in cucumber-sinatra-0.1.0 vs lib/cucumber/sinatra/generators.rb in cucumber-sinatra-0.2.0
- old
+ new
@@ -19,13 +19,13 @@
second_argument :app_file, :required => true, :desc => 'Application file'
option :app, :as => :boolean, :default => false, :desc => 'Create the application files as well.'
template :env, 'features/support/env.rb'
+ template :paths, 'features/support/paths.rb'
+ template :steps, 'features/step_definitions/web_steps.rb'
template :app_file, 'app.rbt', '%app_file_path%', :app => true
template :rackup_file, 'config.ru', 'config.ru', :app => true
-
- empty_directory :step_definitions, 'features/step_definitions'
def app_file_path
app_file
end
end