1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/spec/rackspace/requests/servers/get_flavor_details_spec.rb
2010-01-23 12:35:16 -08:00

15 lines
437 B
Ruby

require File.dirname(__FILE__) + '/../../../spec_helper'
describe 'Rackspace::Servers.get_flavor_details' do
describe 'success' do
it "should return proper attributes" do
actual = Rackspace[:servers].get_flavor_details(1).body['flavor']
actual['disk'].should be_an(Integer)
actual['id'].should be_an(Integer)
actual['name'].should be_a(String)
actual['ram'].should be_an(Integer)
end
end
end