Sha256: dcbe56adcef767476f32ae4a3f509084be5aafcbb3ec7df1a3f205ad68ad838b
Contents?: true
Size: 398 Bytes
Versions: 39
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal = true RSpec.describe :in_default_time_zone do link :in_default_time_zone, from: :ree_datetime link :set_default_time_zone, from: :ree_datetime it { set_default_time_zone('Moscow') expect( in_default_time_zone( DateTime.new(2022, 4, 5, 18, 4, 15, "+00:00") ) ).to eq( DateTime.new(2022, 4, 5, 21, 4, 15, "+03:00") ) } end
Version data entries
39 entries across 39 versions & 1 rubygems