Sha256: 48f1555cb4e7dc52baecc7be02f6986e075728388c0a6a99d41be7b23530f416
Contents?: true
Size: 410 Bytes
Versions: 31
Compression:
Stored size: 410 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Rackspace::Servers.list_flavors' do describe 'success' do it "should return proper attributes" do actual = Rackspace[: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
31 entries across 31 versions & 1 rubygems