aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-09 23:53:54 +0200
committerGitHub <noreply@github.com>2016-08-09 23:53:54 +0200
commit7b31b06d4afd73734ac54cbbac105f0eab8d0d43 (patch)
tree94789c1c7f3c8e1c611a30548cd90ecbb34f98ea /activerecord/test/cases/associations
parent67d0c9ee93100dbdcafd20b0632e5bef6735888e (diff)
parentf006de5dc5a709f5dc8604ebd43f7741da30cd9f (diff)
downloadrails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.tar.gz
rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.tar.bz2
rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.zip
Merge pull request #26095 from kamipo/fix_broken_alignment_by_auto_correct
Fix broken alignments caused by auto-correct commit 411ccbd
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r--activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
index c4f174e470..ec6ae39835 100644
--- a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
@@ -283,7 +283,8 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase
end
def test_habtm_collection_size_from_params
- devel = Developer.new( projects_attributes: {
+ devel = Developer.new(
+ projects_attributes: {
"0" => {}
})