diff --git a/lib/fog/aws/requests/compute/create_route_table.rb b/lib/fog/aws/requests/compute/create_route_table.rb index 0a9bd3710..680d5e643 100755 --- a/lib/fog/aws/requests/compute/create_route_table.rb +++ b/lib/fog/aws/requests/compute/create_route_table.rb @@ -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