Skip to content

Commit

Permalink
Added test for 'title' parsing in [link].
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspard committed May 9, 2011
1 parent 40d46b5 commit ddbb410
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/zafu_compiler/urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ link_set_class:
tem: "<a class='<%= \"#{@node.prop['title']}_foo\" %>' href='<%= zen_path(@node) %>'><%= @node.prop['title'] %></a>"
res: "<a class='status title_foo' href='/oo/projects-list/Clean-Water-project/page22.html'>status title</a>"

link_set_title:
src: "<r:link title='#{title}_foo'/>"
res: "<a title='status title_foo' href='/oo/projects-list/Clean-Water-project/page22.html'>status title</a>"

link_attr:
src: "<r:link attr='ref_lang'/>"
tem: "<a href='<%= zen_path(@node) %>'><%= @node.ref_lang %></a>"
Expand Down

0 comments on commit ddbb410

Please sign in to comment.