Sha256: d6d4bfbd55fce86f94c88d472abeb7371474f36ec1433b5a8777774bab448a5f

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

require 'timezone/parser/zone/until'
require 'minitest/autorun'

describe Timezone::Parser::Zone::Until do
  def parse(*args)
    Timezone::Parser::Zone::Until.parse(*args)
  end

  it 'parses dates' do
    assert_equal -2185401600000, parse('1900 Oct')
    assert_equal -682646400000, parse('1948 May 15')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
timezone-0.3.2 test/timezone/parser/zone/until_test.rb
timezone-0.3.1 test/timezone/parser/zone/until_test.rb
timezone-0.3.0 test/timezone/parser/zone/until_test.rb