summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_controller
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/redmine_plugin_controller')
-rw-r--r--lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb b/lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb
index 0499b6970..89cd961ae 100644
--- a/lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb
+++ b/lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb
@@ -1,4 +1,4 @@
-require File.expand_path('../../test_helper', __FILE__)
+require_relative '../test_helper'
class <%= @controller_class %>ControllerTest < ActionController::TestCase
# Replace this with your real tests.