aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorClaudio B <claudiob@users.noreply.github.com>2015-10-25 08:04:40 -0700
committerClaudio B <claudiob@users.noreply.github.com>2015-10-25 08:04:40 -0700
commit504e5e102b847019f08c4c2d1fa30444ed9a59a0 (patch)
treef33a6b1ee72d5d60a1f75cf2940ca0c61a337739 /activerecord
parent5746638e553b1d57ccd0c93b880d29595d1ce2e3 (diff)
parenta97dcde689f03e231ff4d64392fade20608af264 (diff)
downloadrails-504e5e102b847019f08c4c2d1fa30444ed9a59a0.tar.gz
rails-504e5e102b847019f08c4c2d1fa30444ed9a59a0.tar.bz2
rails-504e5e102b847019f08c4c2d1fa30444ed9a59a0.zip
Merge pull request #22060 from sebmck/tweak-wording
Tweaked wording used in some tests.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/inverse_associations_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/cases/associations/inverse_associations_test.rb b/activerecord/test/cases/associations/inverse_associations_test.rb
index ece4dab539..57d1c8feda 100644
--- a/activerecord/test/cases/associations/inverse_associations_test.rb
+++ b/activerecord/test/cases/associations/inverse_associations_test.rb
@@ -83,10 +83,10 @@ class AutomaticInverseFindingTests < ActiveRecord::TestCase
assert_equal rating.comment, comment, "The Rating's comment should be the original Comment"
- rating.comment.body = "Brogramming is the act of programming, like a bro."
+ rating.comment.body = "Fennec foxes are the smallest of the foxes."
assert_equal rating.comment.body, comment.body, "Changing the Comment's body on the association should change the original Comment's body"
- comment.body = "Broseiden is the king of the sea of bros."
+ comment.body = "Kittens are adorable."
assert_equal comment.body, rating.comment.body, "Changing the original Comment's body should change the Comment's body on the association"
end
@@ -97,10 +97,10 @@ class AutomaticInverseFindingTests < ActiveRecord::TestCase
assert_equal rating.comment, comment, "The Rating's comment should be the original Comment"
- rating.comment.body = "Brogramming is the act of programming, like a bro."
+ rating.comment.body = "Fennec foxes are the smallest of the foxes."
assert_equal rating.comment.body, comment.body, "Changing the Comment's body on the association should change the original Comment's body"
- comment.body = "Broseiden is the king of the sea of bros."
+ comment.body = "Kittens are adorable."
assert_equal comment.body, rating.comment.body, "Changing the original Comment's body should change the Comment's body on the association"
end