Sha256: 046cb60fab610abaf69dc92efab4fa03e44bda2f3430eb304272ec4141dbf65c
Contents?: true
Size: 453 Bytes
Versions: 10
Compression:
Stored size: 453 Bytes
Contents
Shindo.tests('Slicehost#get_image', 'slicehost') do tests('success') do before do @data = Slicehost[:slices].get_image(3).body end test('has proper output format') do has_format(@data, Slicehost::Formats::IMAGE) end end tests('failure') do test('raises Forbidden error if flavor does not exist') do has_error(Excon::Errors::Forbidden) Slicehost[:slices].get_image(0) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems