1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fixing variable names. oops!

This commit is contained in:
Aaron Patterson 2010-11-23 17:28:26 -08:00
parent 8882e65ac8
commit a551d2ec62

View file

@ -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