aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-11-23 17:28:26 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-11-23 17:42:49 -0800
commita551d2ec62f205a755d3b760a9943f20addafe35 (patch)
tree7baa66132ed729c4488e8d22982f2a5cf090735e /activerecord/test/cases
parent8882e65ac8cd499f09bacee4bc4f3f4c328fae05 (diff)
downloadrails-a551d2ec62f205a755d3b760a9943f20addafe35.tar.gz
rails-a551d2ec62f205a755d3b760a9943f20addafe35.tar.bz2
rails-a551d2ec62f205a755d3b760a9943f20addafe35.zip
fixing variable names. oops!
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/dup_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/dup_test.rb b/activerecord/test/cases/dup_test.rb
index a1fc639290..46abe7792c 100644
--- a/activerecord/test/cases/dup_test.rb
+++ b/activerecord/test/cases/dup_test.rb
@@ -13,7 +13,7 @@ module ActiveRecord
topic = Topic.first
duped = topic.dup
- assert !topic.readonly?, 'should not be readonly'
+ assert !duped.readonly?, 'should not be readonly'
end
def test_is_readonly
@@ -21,7 +21,7 @@ module ActiveRecord
topic.readonly!
duped = topic.dup
- assert topic.readonly?, 'should be readonly'
+ assert duped.readonly?, 'should be readonly'
end
def test_dup_not_persisted