mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Uncomment test and make it work.
This commit is contained in:
parent
f0eaf11c0e
commit
f1913ad835
1 changed files with 5 additions and 2 deletions
|
@ -85,8 +85,11 @@ class IdentityMapTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_loading_new_instance_should_remove_dirt
|
||||
#assert_equal({'name' => ["Marcin Raczkowski", "Swistak Sreberkowiec"]}, swistak.changes)
|
||||
#assert_equal("Swistak Sreberkowiec", swistak.name)
|
||||
swistak = Subscriber.find(:first, :conditions => {:nick => 'swistak'})
|
||||
swistak.name = "Swistak Sreberkowiec"
|
||||
|
||||
assert_equal({'name' => ["Marcin Raczkowski", "Swistak Sreberkowiec"]}, swistak.changes)
|
||||
assert_equal("Swistak Sreberkowiec", swistak.name)
|
||||
end
|
||||
|
||||
def test_has_many_associations
|
||||
|
|
Loading…
Reference in a new issue