spec/integration/timezone_test.rb in sequel-3.46.0 vs spec/integration/timezone_test.rb in sequel-3.47.0
- old
+ new
@@ -1,9 +1,8 @@
require File.join(File.dirname(File.expand_path(__FILE__)), 'spec_helper.rb')
describe "Sequel timezone support" do
def test_timezone(timezone=Sequel.application_timezone)
- tz = timezone
Sequel.datetime_class = Time
# Tests should cover both DST and non-DST times.
[Time.now, Time.local(2010,1,1,12), Time.local(2010,6,1,12)].each do |t|
@db[:t].insert(t)
t2 = @db[:t].single_value