mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
15 lines
No EOL
390 B
Ruby
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 |