Sha256: 19d9aab358dbe2c4fb49f1fe0352e5a467b2870b2c263c5d7e07aeab4b28fa9b
Contents?: true
Size: 497 Bytes
Versions: 11
Compression:
Stored size: 497 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 = 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
11 entries across 11 versions & 1 rubygems