aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-03-20 11:17:01 +0530
committerVipul A M <vipulnsward@gmail.com>2013-03-20 11:17:01 +0530
commitabd89f96cd51988a50947006c50ae4ff3fe8f040 (patch)
tree1541c083938e01aa48b1b1e440a792b5a13e6715 /activerecord/test
parente61cdf02896ffe0a97cc2205a1a812d54638e19a (diff)
downloadrails-abd89f96cd51988a50947006c50ae4ff3fe8f040.tar.gz
rails-abd89f96cd51988a50947006c50ae4ff3fe8f040.tar.bz2
rails-abd89f96cd51988a50947006c50ae4ff3fe8f040.zip
Fix some typos in AR- CHANGELOG, tests, method doc. fixed
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/associations/join_model_test.rb2
-rw-r--r--activerecord/test/cases/callbacks_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/join_model_test.rb b/activerecord/test/cases/associations/join_model_test.rb
index c05481dd91..aabeea025f 100644
--- a/activerecord/test/cases/associations/join_model_test.rb
+++ b/activerecord/test/cases/associations/join_model_test.rb
@@ -464,7 +464,7 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase
assert saved_post.reload.tags(true).include?(new_tag)
- new_post = Post.new(:title => "Association replacmenet works!", :body => "You best believe it.")
+ new_post = Post.new(:title => "Association replacement works!", :body => "You best believe it.")
saved_tag = tags(:general)
new_post.tags << saved_tag
diff --git a/activerecord/test/cases/callbacks_test.rb b/activerecord/test/cases/callbacks_test.rb
index 7457bafd4e..187cad9599 100644
--- a/activerecord/test/cases/callbacks_test.rb
+++ b/activerecord/test/cases/callbacks_test.rb
@@ -520,7 +520,7 @@ class CallbacksTest < ActiveRecord::TestCase
], david.history
end
- def test_inheritence_of_callbacks
+ def test_inheritance_of_callbacks
parent = ParentDeveloper.new
assert !parent.after_save_called
parent.save