1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

mock framework for list_data_points

This commit is contained in:
Ryan Richard 2013-08-30 19:31:40 -05:00
parent 3cf548fbdc
commit da9b2e381b
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -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