@@ -23,6 +23,10 class RedminePluginGenerator < Rails::Generators::NamedBase | |||||
23 | empty_directory "#{plugin_path}/assets/stylesheets" |
|
23 | empty_directory "#{plugin_path}/assets/stylesheets" | |
24 | empty_directory "#{plugin_path}/config/locales" |
|
24 | empty_directory "#{plugin_path}/config/locales" | |
25 | empty_directory "#{plugin_path}/test" |
|
25 | empty_directory "#{plugin_path}/test" | |
|
26 | empty_directory "#{plugin_path}/test/fixtures" | |||
|
27 | empty_directory "#{plugin_path}/test/unit" | |||
|
28 | empty_directory "#{plugin_path}/test/functional" | |||
|
29 | empty_directory "#{plugin_path}/test/integration" | |||
26 |
|
30 | |||
27 | template 'README.rdoc', "#{plugin_path}/README.rdoc" |
|
31 | template 'README.rdoc', "#{plugin_path}/README.rdoc" | |
28 | template 'init.rb.erb', "#{plugin_path}/init.rb" |
|
32 | template 'init.rb.erb', "#{plugin_path}/init.rb" |
@@ -1,4 +1,4 | |||||
1 |
require File. |
|
1 | require File.expand_path('../../test_helper', __FILE__) | |
2 |
|
2 | |||
3 | class <%= @controller_class %>ControllerTest < ActionController::TestCase |
|
3 | class <%= @controller_class %>ControllerTest < ActionController::TestCase | |
4 | # Replace this with your real tests. |
|
4 | # Replace this with your real tests. |
General Comments 0
You need to be logged in to leave comments.
Login now