Sha256: 52bfaf4b09d6e976eff71257e382642a7ed7623e54628fe71626219d1245f478

Contents?: true

Size: 379 Bytes

Versions: 9

Compression:

Stored size: 379 Bytes

Contents

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

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

    it "should return proper attributes" do
      actual = slicehost.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

9 entries across 9 versions & 1 rubygems

Version Path
fog-0.0.40 spec/slicehost/requests/get_images_spec.rb
fog-0.0.39 spec/slicehost/requests/get_images_spec.rb
fog-0.0.38 spec/slicehost/requests/get_images_spec.rb
fog-0.0.37 spec/slicehost/requests/get_images_spec.rb
fog-0.0.36 spec/slicehost/requests/get_images_spec.rb
fog-0.0.35 spec/slicehost/requests/get_images_spec.rb
fog-0.0.34 spec/slicehost/requests/get_images_spec.rb
fog-0.0.33 spec/slicehost/requests/get_images_spec.rb
fog-0.0.32 spec/slicehost/requests/get_images_spec.rb