diff --git a/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb b/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb index effd0396a..ebf336586 100644 --- a/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb +++ b/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb @@ -35,7 +35,7 @@ module Fog "Content-Length" => "0", "Content-Type" => "text/plain", } - response.remote_ip = "1.1.1.1" + response.remote_ip = Fog::Rackspace::MockData.ipv4_address response end end diff --git a/lib/fog/rackspace/requests/monitoring/list_data_points.rb b/lib/fog/rackspace/requests/monitoring/list_data_points.rb index 5620fee1c..7ded8f15b 100644 --- a/lib/fog/rackspace/requests/monitoring/list_data_points.rb +++ b/lib/fog/rackspace/requests/monitoring/list_data_points.rb @@ -13,6 +13,13 @@ module Fog end end + + class Mock + + def list_data_points(entity_id, check_id, metric_name, options) + + end + end end end end