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:
parent
de03761f34
commit
512ff76f03
1 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue