Sha256: 1fee875503bce11acf7b307b1c654cf525238507d33889f96dc69cc6ec3331a2

Contents?: true

Size: 388 Bytes

Versions: 19

Compression:

Stored size: 388 Bytes

Contents

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

describe 'Slicehost.get_images' do
  describe 'success' do

    it "should return proper attributes" do
      actual = Slicehost[:slices].get_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

19 entries across 19 versions & 1 rubygems

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