Sha256: ce2ce9e447e9ba27c007051192fb36b244aebd7469d2c61908f71fb16b996b6c

Contents?: true

Size: 544 Bytes

Versions: 18

Compression:

Stored size: 544 Bytes

Contents

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

describe 'Rackspace::Servers.list_images_detail' do
  describe 'success' do

    it "should return proper attributes" do
      actual = Rackspace[:servers].list_images_detail.body
      actual['images'].should be_an(Array)
      image = actual['images'].first
      image['created'].should be_a(String)
      image['id'].should be_an(Integer)
      image['name'].should be_a(String)
      image['status'].should be_a(String)
      image['updated'].should be_a(String)
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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