Sha256: a138f74bffa5817445a6aab443e088d7de17907982775d5f81df3f562fc0a921

Contents?: true

Size: 389 Bytes

Versions: 15

Compression:

Stored size: 389 Bytes

Contents

require 'test_helper'

module Kaui
  class DateHelperIntegrationTest < IntegrationTestHelper

    include Kaui::DateHelper

    test 'can get killbill server current time depending of time zone' do
      current_time_fiji = current_time('America/Puerto_Rico',options)
      utc_offset_fiji = '-0400'

      assert_equal utc_offset_fiji, current_time_fiji.strftime('%z')
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kaui-2.1.0 test/integration/kaui/date_helper_integration_test.rb
kaui-2.0.4 test/integration/kaui/date_helper_integration_test.rb
kaui-2.0.3 test/integration/kaui/date_helper_integration_test.rb
kaui-2.0.2 test/integration/kaui/date_helper_integration_test.rb
kaui-2.0.1 test/integration/kaui/date_helper_integration_test.rb
kaui-2.0.0 test/integration/kaui/date_helper_integration_test.rb
kaui-1.4.1 test/integration/kaui/date_helper_integration_test.rb
kaui-1.4.0 test/integration/kaui/date_helper_integration_test.rb
kaui-1.3.0 test/integration/kaui/date_helper_integration_test.rb
kaui-1.2.0 test/integration/kaui/date_helper_integration_test.rb
kaui-1.1.0 test/integration/kaui/date_helper_integration_test.rb
kaui-1.0.0 test/integration/kaui/date_helper_integration_test.rb
kaui-0.16.2 test/integration/kaui/date_helper_integration_test.rb
kaui-0.16.1 test/integration/kaui/date_helper_integration_test.rb
kaui-0.16.0 test/integration/kaui/date_helper_integration_test.rb