1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #22659 from y-yagi/fix_indent_in_controller_test

fix indentation of generated controller test
This commit is contained in:
Kasper Timm Hansen 2015-12-18 10:49:30 +01:00
commit 13007e57ba
2 changed files with 3 additions and 3 deletions

View file

@ -2,10 +2,10 @@ require 'test_helper'
<% module_namespacing do -%>
class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTest
<% if mountable_engine? -%>
<%- if mountable_engine? -%>
include Engine.routes.url_helpers
<% end -%>
<%- end -%>
setup do
@<%= singular_table_name %> = <%= fixture_name %>(:one)
end

View file

@ -5,7 +5,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
<%- if mountable_engine? -%>
include Engine.routes.url_helpers
<% end -%>
<%- end -%>
setup do
@<%= singular_table_name %> = <%= fixture_name %>(:one)
end