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

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-softlayer-1.1.4/tests/softlayer/models/compute/image_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-softlayer-1.1.4/tests/softlayer/models/compute/image_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-softlayer-1.1.4/tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.1.4 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.1.3 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.1.2 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.1.1 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.1.0 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.0.3 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.0.2 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.0.1 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-1.0.0 tests/softlayer/models/compute/image_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-softlayer-0.4.7/tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.7 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.6 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.5 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.4 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.3 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.2 tests/softlayer/models/compute/image_tests.rb
fog-softlayer-0.4.2.pre tests/softlayer/models/compute/image_tests.rb