Sha256: 7abb03dd9e794445c127f219c9ad08bcde9ea0ec670943910244850b61a27f0e
Contents?: true
Size: 478 Bytes
Versions: 30
Compression:
Stored size: 478 Bytes
Contents
Shindo.tests("Fog::Compute[:fogdocker] | image_search request", 'fogdocker') do compute = Fog::Compute[:fogdocker] tests("Search images") do response = compute.image_search('term' => 'test') test("should be a kind of Array") { response.kind_of? Array} test("Array elements should be a kind of Hash") { response.first.kind_of? Hash} test("response elemetns should have a name") { !response.first['name'].nil? && !response.first['name'].empty? } end end
Version data entries
30 entries across 28 versions & 5 rubygems