diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-23 10:24:08 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-03 13:28:46 +0900 |
commit | 7c70430ce063af501154591f114dfc02e559f774 (patch) | |
tree | 8cd1d61de778ce17e06db8687278f01099b91e1b /activerecord/test/cases/attribute_methods_test.rb | |
parent | f2f00ca54a83e86ef845ec9fb3e9e373d367550f (diff) | |
download | rails-7c70430ce063af501154591f114dfc02e559f774.tar.gz rails-7c70430ce063af501154591f114dfc02e559f774.tar.bz2 rails-7c70430ce063af501154591f114dfc02e559f774.zip |
Fix broken heredoc indentation caused by rubocop auto-correct
All indentation was normalized by rubocop auto-correct at 80e66cc4d90bf8c15d1a5f6e3152e90147f00772.
But heredocs was still kept absolute position. This commit aligns
heredocs indentation for consistency.
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index 7a2041937d..993d9f8b94 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -1003,10 +1003,10 @@ class AttributeMethodsTest < ActiveRecord::TestCase def privatize(method_signature) @target.class_eval(<<-private_method, __FILE__, __LINE__ + 1) - private - def #{method_signature} - "I'm private" - end - private_method + private + def #{method_signature} + "I'm private" + end + private_method end end |