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

added in mock for create_route_table

This commit is contained in:
Robert Clark 2013-08-16 10:15:06 -04:00
parent de03761f34
commit 512ff76f03

View file

@ -39,7 +39,20 @@ module Fog
end
class Mock
def create_route_table(vpc_id, options={})
self.data[:route_tables] = {
'routeTableId' => Fog::AWS::Mock.request_id,
'attachmentSet' => {},
'tagSet' => {}
}
Excon::Response.new(
:status => 200,
:body => {
'requestId'=> Fog::AWS::Mock.request_id,
'routeTableSet' => self.data[:route_tables]
}
)
end
end
end
end