Sha256: b5788b3ea21c77680d7a9237ab7dae720e093c464204748fd2174c627833ec81
Contents?: true
Size: 511 Bytes
Versions: 10
Compression:
Stored size: 511 Bytes
Contents
Shindo.tests('Rackspace::Servers#get_flavor_details', 'rackspace') do tests('success') do before do @data = Rackspace[:servers].get_flavor_details(1).body['flavor'] end test('has proper output format') do has_format(@data, Rackspace::Servers::Formats::FLAVOR) end end tests('failure') do test('raises NotFound error if flavor does not exist') do has_error(Excon::Errors::NotFound) do Rackspace[:servers].get_flavor_details(0) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems