lib/generators/extension/extension_generator.rb in radiant-0.8.0 vs lib/generators/extension/extension_generator.rb in radiant-0.8.1
- old
+ new
@@ -33,13 +33,18 @@
else
m.directory "#{extension_path}/spec/controllers"
m.directory "#{extension_path}/spec/models"
m.directory "#{extension_path}/spec/views"
m.directory "#{extension_path}/spec/helpers"
+ m.directory "#{extension_path}/features/support"
+ m.directory "#{extension_path}/features/step_definitions/admin"
m.template 'RSpecRakefile', "#{extension_path}/Rakefile"
m.template 'spec_helper.rb', "#{extension_path}/spec/spec_helper.rb"
m.file 'spec.opts', "#{extension_path}/spec/spec.opts"
+ m.file 'cucumber.yml', "#{extension_path}/cucumber.yml"
+ m.template 'cucumber_env.rb', "#{extension_path}/features/support/env.rb"
+ m.template 'cucumber_paths.rb', "#{extension_path}/features/support/paths.rb"
end
end
end
def class_name
\ No newline at end of file