Sha256: 5346bda25703cacc7565ac93169681140bcb20d89a05e20b8c4c40d9bea4c3cd
Contents?: true
Size: 509 Bytes
Versions: 31
Compression:
Stored size: 509 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Rackspace::Servers.list_flavors_detail' do describe 'success' do it "should return proper attributes" do actual = Rackspace[:servers].list_flavors_detail.body actual['flavors'].should be_an(Array) flavor = actual['flavors'].first flavor['disk'].should be_an(Integer) flavor['id'].should be_an(Integer) flavor['name'].should be_a(String) flavor['ram'].should be_an(Integer) end end end
Version data entries
31 entries across 31 versions & 1 rubygems