aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb')
-rw-r--r--railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb b/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
index 0d4185846d..11a73ebad7 100644
--- a/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
+++ b/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
@@ -1,5 +1,6 @@
require 'test_helper'
+<% module_namespacing do -%>
class <%= class_name %>ControllerTest < ActionController::TestCase
<% if actions.empty? -%>
# Replace this with your real tests.
@@ -16,3 +17,4 @@ class <%= class_name %>ControllerTest < ActionController::TestCase
<% end -%>
<% end -%>
end
+<% end -%>