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:
commit
13007e57ba
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue