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