lib/generators/extension/extension_generator.rb in spree-0.9.4 vs lib/generators/extension/extension_generator.rb in spree-0.10.0.beta

- old
+ new

@@ -21,11 +21,13 @@ m.directory "#{extension_path}/config/initializers" m.directory "#{extension_path}/public" m.template 'README.markdown', "#{extension_path}/README.markdown" m.template 'extension.rb', "#{extension_path}/#{extension_file_name}.rb" + m.template 'extension_hooks.rb', "#{extension_path}/#{file_name}_hooks.rb" m.template 'tasks.rake', "#{extension_path}/lib/tasks/#{extension_file_name}_tasks.rake" - m.template 'routes.rb', "#{extension_path}/config/routes.rb" + m.template 'routes.rb', "#{extension_path}/config/routes.rb" + m.template 'seeds.rb', "#{extension_path}/db/seeds.rb" if options[:with_test_unit] m.directory "#{extension_path}/test/fixtures" m.directory "#{extension_path}/test/functional" m.directory "#{extension_path}/test/unit"