Sha256: b564962d6d0be1ce251b073f61e56251f0f577f6fc025c05165f87058c3adea8

Contents?: true

Size: 481 Bytes

Versions: 21

Compression:

Stored size: 481 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
require 'test/unit'
require 'tzinfo/linked_timezone_info'

include TZInfo

class TCLinkedTimezoneInfo < Test::Unit::TestCase
  
  def test_identifier
    lti = LinkedTimezoneInfo.new('Test/Zone', 'Test/Linked')
    assert_equal('Test/Zone', lti.identifier)
  end
  
  def test_link_to_identifier
    lti = LinkedTimezoneInfo.new('Test/Zone', 'Test/Linked')
    assert_equal('Test/Linked', lti.link_to_identifier)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
tzinfo-0.3.20 test/tc_linked_timezone_info.rb
tzinfo-0.3.19 test/tc_linked_timezone_info.rb
tzinfo-0.3.18 test/tc_linked_timezone_info.rb
tzinfo-0.3.17 test/tc_linked_timezone_info.rb
tzinfo-0.3.16 test/tc_linked_timezone_info.rb
tzinfo-0.3.15 test/tc_linked_timezone_info.rb
tzinfo-0.3.14 test/tc_linked_timezone_info.rb
tzinfo-0.3.0 test/tc_linked_timezone_info.rb
tzinfo-0.3.1 test/tc_linked_timezone_info.rb
tzinfo-0.3.10 test/tc_linked_timezone_info.rb
tzinfo-0.3.11 test/tc_linked_timezone_info.rb
tzinfo-0.3.12 test/tc_linked_timezone_info.rb
tzinfo-0.3.13 test/tc_linked_timezone_info.rb
tzinfo-0.3.2 test/tc_linked_timezone_info.rb
tzinfo-0.3.3 test/tc_linked_timezone_info.rb
tzinfo-0.3.4 test/tc_linked_timezone_info.rb
tzinfo-0.3.5 test/tc_linked_timezone_info.rb
tzinfo-0.3.6 test/tc_linked_timezone_info.rb
tzinfo-0.3.7 test/tc_linked_timezone_info.rb
tzinfo-0.3.8 test/tc_linked_timezone_info.rb