Sha256: 1cfde95fe41482cea875190f7fbb25e059cdd95a4761a637a1e4d00dd40df89c

Contents?: true

Size: 405 Bytes

Versions: 32

Compression:

Stored size: 405 Bytes

Contents

Shindo.tests('Fog::Compute[:slicehost] | backup requests', ['slicehost']) do

  @backup_format = {
    'date'      => String,
    'id'        => Integer,
    'name'      => String,
    'slice-id'  => Integer
  }

  tests('success') do

    tests('#get_backups').formats({ 'backups' => [@backup_format] }) do
      pending if Fog.mocking?
      Fog::Compute[:slicehost].get_backups.body
    end

  end
end

Version data entries

32 entries across 32 versions & 8 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
michiels-fog-1.3.1 tests/slicehost/requests/compute/backup_tests.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
fog-1.3.1 tests/slicehost/requests/compute/backup_tests.rb
fog-1.3.0 tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
fog-1.2.0 tests/slicehost/requests/compute/backup_tests.rb
ktheory-fog-1.1.2 tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
fog-1.1.2 tests/slicehost/requests/compute/backup_tests.rb
fog_tractical-1.1.4 tests/slicehost/requests/compute/backup_tests.rb
fog_tractical-1.1.3 tests/slicehost/requests/compute/backup_tests.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/backup_tests.rb
fog-1.1.1 tests/slicehost/requests/compute/backup_tests.rb
fog-1.1.0 tests/slicehost/requests/compute/backup_tests.rb