mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|monitoring] fixing broken monitoring test
This commit is contained in:
parent
7eb078432f
commit
939164b328
2 changed files with 5 additions and 1 deletions
|
@ -77,6 +77,10 @@ module Fog
|
||||||
|
|
||||||
|
|
||||||
class Mock < Fog::Rackspace::Service
|
class Mock < Fog::Rackspace::Service
|
||||||
|
|
||||||
|
def initialize(options={})
|
||||||
|
end
|
||||||
|
|
||||||
def request(params)
|
def request(params)
|
||||||
Fog::Mock.not_implemented
|
Fog::Mock.not_implemented
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Shindo.tests('Fog::Rackspace::Monitoring | alarm_examples', ['rackspace','rackspace_monitoring']) do
|
Shindo.tests('Fog::Rackspace::Monitoring | alarm_examples', ['rackspace','rackspace_monitoring']) do
|
||||||
pending if Fog.mocking? && !mocks_implemented
|
pending if Fog.mocking?
|
||||||
|
|
||||||
service = Fog::Rackspace::Monitoring.new
|
service = Fog::Rackspace::Monitoring.new
|
||||||
alarm_example_id = 'remote.http_body_match_1'
|
alarm_example_id = 'remote.http_body_match_1'
|
||||||
|
|
Loading…
Reference in a new issue