aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSebastian McKenzie <sebmck@gmail.com>2015-10-25 08:57:50 +0000
committerSebastian McKenzie <sebmck@gmail.com>2015-10-25 08:57:50 +0000
commita97dcde689f03e231ff4d64392fade20608af264 (patch)
tree9a3d3a7f41940c8b64f6b25c0681a1f81549343f /activerecord
parent6843cf6a94ae1efad0464381408a1c5f2f157376 (diff)
downloadrails-a97dcde689f03e231ff4d64392fade20608af264.tar.gz
rails-a97dcde689f03e231ff4d64392fade20608af264.tar.bz2
rails-a97dcde689f03e231ff4d64392fade20608af264.zip
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