Sha256: ce2ce9e447e9ba27c007051192fb36b244aebd7469d2c61908f71fb16b996b6c
Contents?: true
Size: 544 Bytes
Versions: 18
Compression:
Stored size: 544 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Rackspace::Servers.list_images_detail' do describe 'success' do it "should return proper attributes" do actual = Rackspace[:servers].list_images_detail.body actual['images'].should be_an(Array) image = actual['images'].first image['created'].should be_a(String) image['id'].should be_an(Integer) image['name'].should be_a(String) image['status'].should be_a(String) image['updated'].should be_a(String) end end end
Version data entries
18 entries across 18 versions & 1 rubygems