1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/spec/rackspace/requests/servers/list_images_spec.rb
2009-11-03 21:46:27 -08:00

15 lines
No EOL
390 B
Ruby

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