Sha256: 581f235a47b54a2af0a5bb1234906c0e69d26e0c45c4235b7d2d25b415fc8fe8

Contents?: true

Size: 460 Bytes

Versions: 260

Compression:

Stored size: 460 Bytes

Contents

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

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

260 entries across 183 versions & 18 rubygems

Version Path
tzinfo-0.3.62 test/tc_linked_timezone_info.rb
tzinfo-0.3.61 test/tc_linked_timezone_info.rb
tzinfo-0.3.60 test/tc_linked_timezone_info.rb
tzinfo-0.3.59 test/tc_linked_timezone_info.rb
tzinfo-0.3.58 test/tc_linked_timezone_info.rb
tzinfo-0.3.57 test/tc_linked_timezone_info.rb
tzinfo-0.3.56 test/tc_linked_timezone_info.rb
tzinfo-0.3.55 test/tc_linked_timezone_info.rb
tzinfo-0.3.54 test/tc_linked_timezone_info.rb
tzinfo-0.3.53 test/tc_linked_timezone_info.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/tzinfo-0.3.52/test/tc_linked_timezone_info.rb
tzinfo-0.3.52 test/tc_linked_timezone_info.rb
tzinfo-0.3.51 test/tc_linked_timezone_info.rb
tzinfo-0.3.50 test/tc_linked_timezone_info.rb
tzinfo-0.3.49 test/tc_linked_timezone_info.rb
tzinfo-0.3.48 test/tc_linked_timezone_info.rb
tzinfo-0.3.47 test/tc_linked_timezone_info.rb
tzinfo-0.3.46 test/tc_linked_timezone_info.rb
tzinfo-0.3.45 test/tc_linked_timezone_info.rb
classiccms-0.7.5 vendor/bundle/gems/tzinfo-0.3.32/test/tc_linked_timezone_info.rb