Added optional template parameter in test.rb

This commit is contained in:
Tristan Ancelet 2024-06-29 13:07:30 -05:00
parent e547b63990
commit 0897af3654

View File

@ -73,8 +73,8 @@ Test : "<%= @name %>"
Description : "<%= @description %> Description : "<%= @description %>
<% end -%> <% end -%>
============================================== ==============================================
<% @tests.each do |key,data| -%> <% @tests.each do |hostname,data| -%>
<%= key %> : <%= data[:status] %> <% if data[:context].has_key? :note %> (<%= data[:context][:note] %>) <% end %> <%= hostname %> : <%= data[:status] %> <% if data[:context].has_key? :note %> (<%= data[:context][:note] %>) <% end %>
<% end -%> <% end -%>
EOF EOF