aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-07-16 18:11:03 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-07-17 14:08:32 +0900
commit4183d5dfa1d6d651232a4db44a1fcf71d220af4e (patch)
treee84e97bc3516380d2cb679d59b5706b00f52b33b /activerecord/test/cases/scoping
parent47eadb68bfcae1641b019e07e051aa39420685fb (diff)
downloadrails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.tar.gz
rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.tar.bz2
rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.zip
Enable `Layout/FirstParameterIndentation` cop
We have some indentation cops. But now there is a little inconsistent params indentations. Enable `Layout/FirstParameterIndentation` cop to prevent newly inconsistent indentation added and auto-correct to existing violations.
Diffstat (limited to 'activerecord/test/cases/scoping')
-rw-r--r--activerecord/test/cases/scoping/default_scoping_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/scoping/default_scoping_test.rb b/activerecord/test/cases/scoping/default_scoping_test.rb
index e310739f7b..bd05cb4787 100644
--- a/activerecord/test/cases/scoping/default_scoping_test.rb
+++ b/activerecord/test/cases/scoping/default_scoping_test.rb
@@ -332,7 +332,7 @@ class DefaultScopingTest < ActiveRecord::TestCase
def test_create_with_merge
aaron = PoorDeveloperCalledJamis.create_with(name: "foo", salary: 20).merge(
- PoorDeveloperCalledJamis.create_with(name: "Aaron")).new
+ PoorDeveloperCalledJamis.create_with(name: "Aaron")).new
assert_equal 20, aaron.salary
assert_equal "Aaron", aaron.name