Sha256: 0ceb85268921e8e2e7d03b9fdf6d90a3b8a4996642a0b71a999b407f430c4c2d

Contents?: true

Size: 390 Bytes

Versions: 11

Compression:

Stored size: 390 Bytes

Contents

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

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

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

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fog-0.0.40 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.39 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.38 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.37 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.36 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.35 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.34 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.33 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.32 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.31 spec/rackspace/requests/servers/list_images_spec.rb
fog-0.0.30 spec/rackspace/requests/servers/list_images_spec.rb