Skip to content

Commit adf3cb5

Browse files
committed
Fix warning: assigned but unused variable
1 parent 8cecb47 commit adf3cb5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

activerecord/test/cases/attribute_methods_test.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,6 @@ def test_setting_time_zone_aware_attribute_with_string
626626
end
627627

628628
def test_time_zone_aware_attribute_saved
629-
time_string_1 = "2012-02-20 10:00:00"
630-
time_string_2 = "2012-02-20 09:00:00"
631-
632629
in_time_zone 1 do
633630
record = @target.create(:written_on => '2012-02-20 10:00')
634631

0 commit comments

Comments
 (0)