Sha256: a68b13b30bab54a004da806745879e50c74850cccb88dc56970e683a110bbaac

Contents?: true

Size: 419 Bytes

Versions: 72

Compression:

Stored size: 419 Bytes

Contents

Shindo.tests('Fog::Compute[:vsphere] | current_time request', ['vsphere']) do

  compute = Fog::Compute[:vsphere]

  tests('The response should') do
    response = compute.current_time
    test('be a kind of Hash') { response.kind_of? Hash }
    test('have a current_time key') { response.key? 'current_time' }
    test('have a current_time key with a Time value') { response['current_time'].kind_of? Time }
  end

end

Version data entries

72 entries across 72 versions & 5 rubygems

Version Path
fog-vsphere-2.1.1 tests/requests/compute/current_time_tests.rb
fog-vsphere-2.1.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-2.0.1 tests/requests/compute/current_time_tests.rb
fog-vsphere-2.0.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.13.1 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.13.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.12.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.11.3 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.11.2 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.11.1 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.11.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.10.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.9.2 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.9.1 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.9.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.8.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.7.1 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.7.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.6.0 tests/requests/compute/current_time_tests.rb
fog-vsphere-1.5.2 tests/requests/compute/current_time_tests.rb