GitLab ist wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht erreichbar.

Commit 594ca22c authored by jplang's avatar jplang

Fixes test templates for plugins.

git-svn-id: https://svn.redmine.org/redmine/trunk@9737 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 93fd2c18
......@@ -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"
......
require File.dirname(__FILE__) + '/../test_helper'
require File.expand_path('../../test_helper', __FILE__)
class <%= @controller_class %>ControllerTest < ActionController::TestCase
# Replace this with your real tests.
......
require File.dirname(__FILE__) + '/../test_helper'
require File.expand_path('../../test_helper', __FILE__)
class <%= @model_class %>Test < ActiveSupport::TestCase
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment