summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-28 09:00:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-28 09:00:21 +0000
commitafbff44fb4c77e2a870e0a90dd76d137fe4619e9 (patch)
treeb59119a0e40954cd8b3994d8c698c7e5910f454b /lib/generators/redmine_plugin
parent3ba6718805c8bad24de55f9fdb9c68a7c84d0283 (diff)
downloadredmine-afbff44fb4c77e2a870e0a90dd76d137fe4619e9.tar.gz
redmine-afbff44fb4c77e2a870e0a90dd76d137fe4619e9.zip
Fixes test templates for plugins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9737 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/generators/redmine_plugin')
-rw-r--r--lib/generators/redmine_plugin/redmine_plugin_generator.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/generators/redmine_plugin/redmine_plugin_generator.rb b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
index 8e1e4f822..562366342 100644
--- a/lib/generators/redmine_plugin/redmine_plugin_generator.rb
+++ b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
@@ -23,6 +23,10 @@ class RedminePluginGenerator < Rails::Generators::NamedBase
empty_directory "#{plugin_path}/assets/stylesheets"
empty_directory "#{plugin_path}/config/locales"
empty_directory "#{plugin_path}/test"
+ empty_directory "#{plugin_path}/test/fixtures"
+ empty_directory "#{plugin_path}/test/unit"
+ empty_directory "#{plugin_path}/test/functional"
+ empty_directory "#{plugin_path}/test/integration"
template 'README.rdoc', "#{plugin_path}/README.rdoc"
template 'init.rb.erb', "#{plugin_path}/init.rb"