Sha256: b9613bab667ea499ba9959d09672d4ffd84bdead31cc27a7b199c80b6e89328c
Contents?: true
Size: 575 Bytes
Versions: 61
Compression:
Stored size: 575 Bytes
Contents
# # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>) # © Copyright IBM Corporation 2014. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # Shindo.tests("Fog::Compute[:softlayer] | Image model", ["softlayer"]) do pending if Fog.mocking? tests("success") do @service = Fog::Compute[:softlayer] tests("#all") do @image = @service.images.all.first returns(Fog::Compute::Softlayer::Image) { @image.class } end tests("#get") do returns(Fog::Compute::Softlayer::Image) { @service.images.get(@image.id).class } end end end
Version data entries
61 entries across 59 versions & 3 rubygems