aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/nested_attributes_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-07-12 21:29:48 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-07-12 21:29:48 +0900
commit6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6 (patch)
treeb0c3d32658fb03897afac75eb530c3c0a0b01939 /activerecord/test/cases/nested_attributes_test.rb
parent7fc499d1353f98b96c09ee755045e4aa37880962 (diff)
downloadrails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.tar.gz
rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.tar.bz2
rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.zip
Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the future
We sometimes ask "✂️ extra blank lines" to a contributor in reviews like https://github.com/rails/rails/pull/33337#discussion_r201509738. It is preferable to deal automatically without depending on manpower.
Diffstat (limited to 'activerecord/test/cases/nested_attributes_test.rb')
-rw-r--r--activerecord/test/cases/nested_attributes_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/nested_attributes_test.rb b/activerecord/test/cases/nested_attributes_test.rb
index 32af90caef..ec01a2965d 100644
--- a/activerecord/test/cases/nested_attributes_test.rb
+++ b/activerecord/test/cases/nested_attributes_test.rb
@@ -669,7 +669,6 @@ module NestedAttributesOnACollectionAssociationTests
def test_should_take_a_hash_with_composite_id_keys_and_assign_the_attributes_to_the_associated_models
@child_1.stub(:id, "ABC1X") do
@child_2.stub(:id, "ABC2X") do
-
@pirate.attributes = {
association_getter => [
{ id: @child_1.id, name: "Grace OMalley" },