aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-06-07 15:18:44 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-06-07 15:18:44 +0900
commit770f8f345fe92f09b01461920becc409d201f739 (patch)
treee204c918bdc6d2b6824c9fe54389a93d3bd1072b /railties/lib
parente3c1f42b31b93c87188a3013a3f40cf994b7d33c (diff)
downloadrails-770f8f345fe92f09b01461920becc409d201f739.tar.gz
rails-770f8f345fe92f09b01461920becc409d201f739.tar.bz2
rails-770f8f345fe92f09b01461920becc409d201f739.zip
Remove redundant blank line at the bottom of the generated controller test
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt b/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt
index ff41fef9e9..a69a24e281 100644
--- a/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt
+++ b/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt
@@ -16,7 +16,7 @@ class <%= class_name %>ControllerTest < ActionDispatch::IntegrationTest
get <%= url_helper_prefix %>_<%= action %>_url
assert_response :success
end
-
+<%= "\n" unless action == actions.last -%>
<% end -%>
<% end -%>
end