Sha256: b3e9cff2397d84911160a77cf0dcd8252b4a52d9f56538c8d7d5cefb9af26e2f

Contents?: true

Size: 1.2 KB

Versions: 8

Compression:

Stored size: 1.2 KB

Contents

it_should_compile_custom_select:
  context:
    node_name: '@node'
    node: roger
    visitor: complex_admin
    site: complex
    ref_date: 2004-09-01
  src: "<r:emp_form_dates do='each' join=', '><r:show attr='title'/>(<r:priority/>)[<r:last_date format='%Y-%m'/>]</r:emp_form_dates>"
  tem: '/var2.attributes\["priority"\].*\[<%= format_date\(var2.attributes\["last_date"\], :format => "%Y-%m"\) %>\]/'
  res: 'how to use the winch(10)[], secure a site(10)[], dangerous transportations(10)[2004-03], engine maintenance(5)[], information transmission(5)[2002-05], fiber junction(5)[2003-03], problem formulation(5)[2006-03], how to use the radio(1)[]'

it_should_group_by_custom_select:
  context:
    node_name: '@node'
    node: roger
    visitor: complex_admin
    site: complex
    ref_date: 2004-09-01
  src: "<r:emp_form_dates do='group' by='priority' do='each_group' join=', '><r:show attr='priority'/></r:emp_form_dates>"
  res: '10, 5, 1'

it_should_secure_table:
  context:
    node_name: '@node'
    node: roger
    visitor: complex_admin
    site: complex
    ref_date: 2004-09-01
  src: "<r:secure_tables do='count'/>"
  tem: "/secure_scope\('other'\)/"
  # Only show nodes from the 'complex' site
  res: '41'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
zena-1.2.1 test/integration/zafu_compiler/complex_ok.yml
zena-1.2.0 test/integration/zafu_compiler/complex_ok.yml
zena-1.1.3 test/integration/zafu_compiler/complex_ok.yml
zena-1.1.2 test/integration/zafu_compiler/complex_ok.yml
zena-1.1.1 test/integration/zafu_compiler/complex_ok.yml
zena-1.1.0 test/integration/zafu_compiler/complex_ok.yml
zena-1.0.0 test/integration/zafu_compiler/complex_ok.yml
zena-1.0.0.rc3 test/integration/zafu_compiler/complex_ok.yml