aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorLobsiinvok <qazbnm456@gmail.com>2016-02-20 17:36:49 +0800
committerLobsiinvok <qazbnm456@gmail.com>2016-02-20 17:36:49 +0800
commitb2d1de2697f70239e2e80d93c0d728cd8509eae9 (patch)
tree8ac4d480a406c01824f4e2703b06e09a70b6eb2f /activerecord
parent3156a7692c3c51adb846252192364172b05bd67f (diff)
downloadrails-b2d1de2697f70239e2e80d93c0d728cd8509eae9.tar.gz
rails-b2d1de2697f70239e2e80d93c0d728cd8509eae9.tar.bz2
rails-b2d1de2697f70239e2e80d93c0d728cd8509eae9.zip
fix typo
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb2
1 files changed, 1 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 bae4197aaf..9096cbc0ab 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
@@ -146,7 +146,7 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase
assert_equal 1, country.treaties.count
end
- def test_join_table_composit_primary_key_should_not_warn
+ def test_join_table_composite_primary_key_should_not_warn
country = Country.new(:name => 'India')
country.country_id = 'c1'
country.save!