Sha256: 68bfa02c586e49082b77b0b604f3619829edba046db64e8e8464a6d33417b829

Contents?: true

Size: 448 Bytes

Versions: 77

Compression:

Stored size: 448 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')

include TZInfo

class TCDataTimezoneInfo < Minitest::Test
  
  def test_identifier
    ti = DataTimezoneInfo.new('Test/Zone')
    assert_equal('Test/Zone', ti.identifier)
  end
  
  def test_construct_timezone
    ti = DataTimezoneInfo.new('Test/Zone')
    tz = ti.create_timezone
    assert_kind_of(DataTimezone, tz)
    assert_equal('Test/Zone', tz.identifier)
  end
end

Version data entries

77 entries across 73 versions & 27 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
nanumfont-rails-0.1 vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb
tzinfo-1.2.2 test/tc_data_timezone_info.rb
whos_dated_who-0.1.0 vendor/bundle/gems/tzinfo-1.2.1/test/tc_data_timezone_info.rb
whos_dated_who-0.0.1 vendor/bundle/gems/tzinfo-1.2.1/test/tc_data_timezone_info.rb
tzinfo-1.2.1 test/tc_data_timezone_info.rb
tzinfo-1.2.0 test/tc_data_timezone_info.rb