Sha256: b941d56694777568b05c2477b6c87978bb33b2beefd81337db70803e871721a3

Contents?: true

Size: 511 Bytes

Versions: 83

Compression:

Stored size: 511 Bytes

Contents

Shindo.tests('Fog::Rackspace::Monitoring | checks', ['rackspace','rackspace_monitoring']) do
  pending if Fog.mocking?
  service = Fog::Rackspace::Monitoring.new

  begin
    @entity = service.entities.create :label => "fog_#{Time.now.to_i.to_s}"

    options = CHECK_CREATE_OPTIONS.merge(:label => "fog_#{Time.now.to_i.to_s}", :entity => @entity)
    collection = service.checks(:entity => @entity)
    collection_tests(collection, options, false) do

    end
  ensure
    @entity.destroy if @entity
  end
end

Version data entries

83 entries across 81 versions & 8 rubygems

Version Path
fog-1.30.0 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.29.0 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.28.0 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.27.0 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.26.0 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.25.0 tests/rackspace/models/monitoring/checks_tests.rb
nsidc-fog-1.24.1 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.24.0 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.11 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.10 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.9 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.8 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.7 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.6 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.23.0 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.4 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.3 tests/rackspace/models/monitoring/checks_tests.rb
ns-fog-1.22.2 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.22.1 tests/rackspace/models/monitoring/checks_tests.rb
fog-1.22.0 tests/rackspace/models/monitoring/checks_tests.rb