test/integration/zafu_compiler/roles.yml in zena-1.2.1 vs test/integration/zafu_compiler/roles.yml in zena-1.2.2
- old
+ new
@@ -77,17 +77,17 @@
vclass_roles:
context:
node: letter
src: "<r:vclass do='roles' do='each' join=', '><r:name/> (<r:columns do='each' join=',' do='name'/>)</r:vclass>"
tem: "/var1 = @node\.virtual_class .* var2 = var1.sorted_roles/"
- res: "Node (summary,text,title), Original (origin,tz,weight), Task (assigned), Letter (paper,search,search_mono)"
+ res: "Node (summary,text,title), Original (origin,settings,tz,weight), Task (assigned), Letter (paper,search,search_mono)"
vclass_column_size:
context:
node: letter
src: "<r:vclass do='roles' do='each' join=', '><r:name/> (<r:columns do='size'/>)</r:vclass>"
- res: "Node (3), Original (3), Task (1), Letter (3)"
+ res: "Node (3), Original (4), Task (1), Letter (3)"
vclass_context:
src: "<r:Image><r:name/></r:Image>"
tem: "<% if var1 = VirtualClass[\"Image\"] %><%= var1.name %><% end %>"
res: "Image"
@@ -109,21 +109,21 @@
<table do='images in site'>
<tr do='Image' do='roles'><th colspan='#{columns.size}' do='each' do='name'/></tr>
<tr do='Image' do='roles' do='each' do='columns'><th do='each' do='name'/></tr>
<tr do='each'><r:Image do='roles' do='each' do='columns'><td do='each' do='@node.send(name)'/></r:Image></tr>
</table>
- res: "/<th colspan='3'>Node.*<th colspan='3'>Original.*<th>exif</th><th>height</th><th>width</th>.*<td>image/jpeg</td><td>jpg</td>/"
+ res: "/<th colspan='3'>Node.*<th colspan='4'>Original.*<th>exif</th><th>height</th><th>width</th>.*<td>image/jpeg</td><td>jpg</td>/"
list_relations:
src: "<r:Contact do='relations' do='each' join=', ' do='name'/>"
res: "collaborator_for, favorite, favorite_for, home_for, hot_for, icon, reference, reference_for, set_tag"
list_relations_filter_group:
src: "<r:Contact do='relations(\"doc\")' do='each' join=', ' do='name'/>"
res: "reference, reference_for, set_tag"
input_relation_name:
- src: "<r:select name='rel' eval='Contact.relations(\"doc\").map(:name)'/>"
+ src: "<r:select name='rel' eval='Contact.relations(\"doc\").map(\"name\")'/>"
res: "<select name='node[rel]'><option value=\"reference\">reference</option>\n<option value=\"reference_for\">reference_for</option>\n<option value=\"set_tag\">set_tag</option></select>"
manual_select:
src: "<select name='node[rel]' do='Contact.relations(\"doc\")'><option value='#{name}' do='each' do='eval'>trans(\"rel_#{name}\")</option></select>"
res: "<select name='node[rel]'><option value='reference'>rel_reference</option><option value='reference_for'>rel_reference_for</option><option value='set_tag'>rel_set_tag</option></select>"
\ No newline at end of file