Sha256: fb6b34af5b24b086a522ca175068dc02f0106b1e1a5514f914cb162fac8c2d04

Contents?: true

Size: 487 Bytes

Versions: 15

Compression:

Stored size: 487 Bytes

Contents

#
# Author:: Matheus Mina (<mfbmina@gmail.com>)
# © Copyright IBM Corporation 2015.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#
Shindo.tests("Fog::Softlayer[:product] | place_order_test", ["softlayer"]) do

  @sl = Fog::Softlayer[:product]

  tests('success') do
    # should be an empty array
    tests("#place_order") do
      response = @sl.place_order
      data_matches_schema(Hash) { response.body}
      data_matches_schema(200) { response.status }
    end
  end
end

Version data entries

15 entries across 13 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-softlayer-1.1.4/tests/softlayer/requests/product/place_order.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-softlayer-1.1.4/tests/softlayer/requests/product/place_order.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-softlayer-1.1.4/tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.1.4 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.1.3 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.1.2 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.1.1 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.1.0 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.0.3 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.0.2 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.0.1 tests/softlayer/requests/product/place_order.rb
fog-softlayer-1.0.0 tests/softlayer/requests/product/place_order.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-softlayer-0.4.7/tests/softlayer/requests/product/place_order.rb
fog-softlayer-0.4.7 tests/softlayer/requests/product/place_order.rb
fog-softlayer-0.4.6 tests/softlayer/requests/product/place_order.rb