1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/spec/slicehost/requests/get_images_spec.rb

15 lines
379 B
Ruby

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