Skip to content

Commit

Permalink
Many changes to properly support timezones. Fixed and improved calend…
Browse files Browse the repository at this point in the history
…ar rendering.
  • Loading branch information
gaspard committed May 8, 2011
1 parent 7055f94 commit d069519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/zena/use/zazen_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ def test_translate_ids
projects = secure!(Node) { nodes(:projects) }
zena = secure!(Node) { nodes(:zena) }
assert_equal "This \"is\":33 \"a\":#{nodes_zip(:wiki)} !#{nodes_zip(:bird_jpg)}! \"link\":#{nodes_zip(:lion)}.",
zazen('This "is":33 "a":(projects list/a wiki with Zena) !(projects list/a wiki with Zena/bird)! "link"::lio.', :translate_ids => :zip, :node => zena)
zazen('This "is":33 "a":(projects list/a wiki with Zena) !(projects list/a wiki with Zena/bird)! "link"::Leo.', :translate_ids => :zip, :node => zena)

assert_equal 'This "is":(../Collections/Art) "a":(a wiki with Zena) !(a wiki with Zena/bird)! !{(a wiki with Zena/bird)}! ![(a wiki with Zena/bird)]! "link":(../people/Panthera Leo Verneyi).',
zazen('This "is":33 "a":(/projects list/a wiki with Zena) !30! !{30}! ![30]! "link"::lio.', :translate_ids => :relative_path, :node => projects)
zazen('This "is":33 "a":(/projects list/a wiki with Zena) !30! !{30}! ![30]! "link"::Leo.', :translate_ids => :relative_path, :node => projects)

assert_equal "This \"is\":33 \"a\":#{nodes_zip(:wiki)} !#{nodes_zip(:bird_jpg)}! \"link\":#{nodes_zip(:lion)}.",
zazen('This "is":(../Collections/Art) "a":(a wiki with Zena) !(a wiki with Zena/bird)! "link":(../people/Panthera Leo Verneyi).', :translate_ids => :zip, :node => projects)
Expand Down

0 comments on commit d069519

Please sign in to comment.