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:
parent
8882e65ac8
commit
a551d2ec62
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue