Sha256: 8f4be4c1eccdee5c30d29df06dd1a7700732e86c68f06439bde7863d045b3585
Contents?: true
Size: 493 Bytes
Versions: 17
Compression:
Stored size: 493 Bytes
Contents
Shindo.tests('Slicehost#create_slice', 'slicehost') do tests('success') do before do @data = Slicehost[:slices].create_slice(1, 3, 'fogcreateslice').body @id = @data['id'] end after do wait_for { Slicehost[:slices].get_slice(@id).body['status'] == 'active' } Slicehost[:slices].delete_slice(@id) end test('has proper output format') do validate_format(@data, Slicehost::Formats::SLICE.merge('root-password' => String)) end end end
Version data entries
17 entries across 17 versions & 1 rubygems