Sha256: 3deee5c308f693d55918e116160e4007a9bc60000b23f83d89c3c4a0ea810917

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

require 'timezone/parser'
require 'minitest/autorun'

describe Timezone::Parser do
  it 'parses files with no errors' do
    Timezone::Parser.parse('test/data/asia')
    # File.open('data/Asia/Hebron.json', 'w') do |f|
    #   hash = { '_zone' => 'Asia/Hebron', 'zone' => Timezone::Parser::Zone.data['Asia/Hebron'].map(&:to_hash) }
    #   f.puts(JSON.pretty_generate(hash))
    # end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
timezone-0.3.2 test/timezone/parser_test.rb
timezone-0.3.1 test/timezone/parser_test.rb
timezone-0.3.0 test/timezone/parser_test.rb