diff --git a/spec/acceptance/emit_json_options.rb b/spec/acceptance/emit_json_options.rb index d1e99f3..0c0c5f4 100644 --- a/spec/acceptance/emit_json_options.rb +++ b/spec/acceptance/emit_json_options.rb @@ -15,7 +15,21 @@ expected = { "file" => "/etc/puppet/modules/test/lib/puppet/parser/functions/function3x.rb", "line" => 1, "type" => "ruby3x", - "signature" => "function3x()", + "signatures" => [ + { + "signature" =>"function3x()", + "docstring" => { + "text" => "This is the function documentation for `function3x`", + "tags" => [ + { + "tag_name"=>"return", + "text"=>"", + "types"=>["Any"] + } + ] + } + }, + ], "docstring" => { "text" => "This is the function documentation for `function3x`", "tags" => ["tag_name" => "return", "text" => "", "types" => ["Any"]]},