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

Merge pull request #5221 from kennyj/fix_warning_20120301

Fix warning: assigned but unused variable
This commit is contained in:
Jeremy Kemper 2012-02-29 10:25:45 -08:00
commit f9b698f93b

View file

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