Sha256: cb4cbddd8e5aea5078933de9fac44670d4e9dc00a3dbc5e93162ad5a0eb2e3b0

Contents?: true

Size: 448 Bytes

Versions: 19

Compression:

Stored size: 448 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

describe 'Slicehost.delete_slice' do
  describe 'success' do

    before(:each) do
      # flavor_id 1: 256 ram, image_id 3: Gentoo 2008.0
      @slice_id = Slicehost[:slices].create_slice(1, 3, 'fog_delete_slice').body['id']
    end

    it "should return proper attributes" do
      eventually(128) do
        actual = Slicehost[:slices].delete_slice(@slice_id)
      end
    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
fog-0.0.59 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.58 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.57 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.56 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.55 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.54 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.53 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.52 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.51 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.50 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.49 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.48 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.47 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.46 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.45 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.44 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.43 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.42 spec/slicehost/requests/delete_slice_spec.rb
fog-0.0.41 spec/slicehost/requests/delete_slice_spec.rb