Sha256: 3ccd9708054c51ffaf3d8c8fa08c6d75e3ff37cb0f067bdd06f168899ec009ba

Contents?: true

Size: 492 Bytes

Versions: 10

Compression:

Stored size: 492 Bytes

Contents

Shindo.tests('Slicehost#create_slice', 'slicehost') do
  tests('success') do

    before do
      @data = Slicehost[:slices].create_slice(1, 3, 'fogcreateslice').body
      @id = @data['id']
    end

    after do
      Fog.wait_for { Slicehost[:slices].get_slice(@id).body['status'] == 'active' }
      Slicehost[:slices].delete_slice(@id)
    end

    test('has proper output format') do
      has_format(@data, Slicehost::Formats::SLICE.merge('root-password' => String))
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fog-0.1.0 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.100 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.99 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.98 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.97 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.96 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.95 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.94 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.93 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.92 tests/slicehost/requests/create_slice_tests.rb