Sha256: 8f4be4c1eccdee5c30d29df06dd1a7700732e86c68f06439bde7863d045b3585

Contents?: true

Size: 493 Bytes

Versions: 17

Compression:

Stored size: 493 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
      wait_for { Slicehost[:slices].get_slice(@id).body['status'] == 'active' }
      Slicehost[:slices].delete_slice(@id)
    end

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

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fog-0.0.84 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.83 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.82 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.81 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.80 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.79 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.78 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.77 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.76 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.75 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.74 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.73 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.72 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.71 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.70 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.69 tests/slicehost/requests/create_slice_tests.rb
fog-0.0.68 tests/slicehost/requests/create_slice_tests.rb