diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-10-06 12:09:18 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-11-19 19:08:12 -0300 |
commit | 003e4fb4cf7a2eabd60cceb4a1e0e857ada282f0 (patch) | |
tree | 820e835abaca0853a84aabce886de40f27230be7 /activerecord/test/cases | |
parent | 76f33dc372a057ae163a34710693510896cda9ac (diff) | |
download | rails-003e4fb4cf7a2eabd60cceb4a1e0e857ada282f0.tar.gz rails-003e4fb4cf7a2eabd60cceb4a1e0e857ada282f0.tar.bz2 rails-003e4fb4cf7a2eabd60cceb4a1e0e857ada282f0.zip |
Fix test name and typo.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/identity_map_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/identity_map_test.rb b/activerecord/test/cases/identity_map_test.rb index 53835e3b46..f984c42ffb 100644 --- a/activerecord/test/cases/identity_map_test.rb +++ b/activerecord/test/cases/identity_map_test.rb @@ -120,11 +120,11 @@ class IdentityMapTest < ActiveRecord::TestCase assert_equal("Swistak Sreberkowiec", swistak.name) end - def test_loading_new_instance_should_change_dirty_attribute original_value + def test_loading_new_instance_should_change_dirty_attribute_original_value swistak = Subscriber.find(:first, :conditions => {:nick => 'swistak'}) swistak.name = "Swistak Sreberkowiec" - Susbscriber.update_all({:name => "Raczkowski Marcin"}, {:name => "Marcin Raczkowski"}) + Subscriber.update_all({:name => "Raczkowski Marcin"}, {:name => "Marcin Raczkowski"}) s = Subscriber.find('swistak') |