aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorShailesh Kalamkar <shailesh.kalamkar@gmail.com>2019-03-09 21:37:30 +0530
committerShailesh Kalamkar <shailesh.kalamkar@gmail.com>2019-03-09 21:37:30 +0530
commitfd56f9b5c4c3948fa2f26daf7f7e1ae29eb7c5bb (patch)
tree31b775b83f1dabe82269ba9bdc73a6fe9ff7a94e /activerecord
parentb075bbdc69f1288539db9dd9b6bb2b55bf0c58e6 (diff)
downloadrails-fd56f9b5c4c3948fa2f26daf7f7e1ae29eb7c5bb.tar.gz
rails-fd56f9b5c4c3948fa2f26daf7f7e1ae29eb7c5bb.tar.bz2
rails-fd56f9b5c4c3948fa2f26daf7f7e1ae29eb7c5bb.zip
Fixed autosave association test typo
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/autosave_association_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/autosave_association_test.rb b/activerecord/test/cases/autosave_association_test.rb
index 88df0eed55..54eb885f6a 100644
--- a/activerecord/test/cases/autosave_association_test.rb
+++ b/activerecord/test/cases/autosave_association_test.rb
@@ -1806,7 +1806,7 @@ class TestAutosaveAssociationOnAHasManyAssociationWithInverse < ActiveRecord::Te
end
class TestAutosaveAssociationOnAHasManyAssociationDefinedInSubclassWithAcceptsNestedAttributes < ActiveRecord::TestCase
- def test_should_update_children_when_asssociation_redefined_in_subclass
+ def test_should_update_children_when_association_redefined_in_subclass
agency = Agency.create!(name: "Agency")
valid_project = Project.create!(firm: agency, name: "Initial")
agency.update!(