spec/acceptance/emit_json_options.rb in puppet-strings-0.99.0 vs spec/acceptance/emit_json_options.rb in puppet-strings-1.0.0

- old
+ new

@@ -13,10 +13,24 @@ "puppet_functions" => [ "name" => "function3x", "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"]]}, "source" => "Puppet::Parser::Functions.newfunction(:function3x, :doc => \"This is the function documentation for `function3x`\") do |args|\nend" ]