mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
14 lines
400 B
Ruby
14 lines
400 B
Ruby
Shindo.tests('Fog::Rackspace::Monitoring | entities', ['rackspace','rackspace_monitoring']) do
|
|
pending if Fog.mocking?
|
|
service = Fog::Rackspace::Monitoring.new
|
|
|
|
options = { :label => "fog_#{Time.now.to_i.to_s}", :ip_addresses => {:default => "127.0.0.1"} }
|
|
collection_tests(service.entities, options, false) do
|
|
|
|
end
|
|
|
|
tests('overview').succeeds do
|
|
service.entities.overview
|
|
end
|
|
|
|
end
|