diff options
author | kennyj <kennyj@gmail.com> | 2012-03-01 03:04:03 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-03-01 03:09:33 +0900 |
commit | adf3cb5adb4fcbd8100e230c24ad58acce04e9ca (patch) | |
tree | e999f0914334ca1d35edfe327cb20daa50839d98 /activerecord | |
parent | 8cecb476966b7ec61a31fd08e96afb67931eac3d (diff) | |
download | rails-adf3cb5adb4fcbd8100e230c24ad58acce04e9ca.tar.gz rails-adf3cb5adb4fcbd8100e230c24ad58acce04e9ca.tar.bz2 rails-adf3cb5adb4fcbd8100e230c24ad58acce04e9ca.zip |
Fix warning: assigned but unused variable
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index fb51925a38..23bdb09514 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -626,9 +626,6 @@ class AttributeMethodsTest < ActiveRecord::TestCase end def test_time_zone_aware_attribute_saved - time_string_1 = "2012-02-20 10:00:00" - time_string_2 = "2012-02-20 09:00:00" - in_time_zone 1 do record = @target.create(:written_on => '2012-02-20 10:00') |