##// END OF EJS Templates
Fixes test templates for plugins....
Jean-Philippe Lang -
r9554:afbff44fb4c7
parent child
Show More
@@ -23,6 +23,10 class RedminePluginGenerator < Rails::Generators::NamedBase
23 23 empty_directory "#{plugin_path}/assets/stylesheets"
24 24 empty_directory "#{plugin_path}/config/locales"
25 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 31 template 'README.rdoc', "#{plugin_path}/README.rdoc"
28 32 template 'init.rb.erb', "#{plugin_path}/init.rb"
@@ -1,4 +1,4
1 require File.dirname(__FILE__) + '/../test_helper'
1 require File.expand_path('../../test_helper', __FILE__)
2 2
3 3 class <%= @controller_class %>ControllerTest < ActionController::TestCase
4 4 # Replace this with your real tests.
@@ -1,4 +1,4
1 require File.dirname(__FILE__) + '/../test_helper'
1 require File.expand_path('../../test_helper', __FILE__)
2 2
3 3 class <%= @model_class %>Test < ActiveSupport::TestCase
4 4
General Comments 0
You need to be logged in to leave comments. Login now