Project

General

Profile

Patch #16313 » 16313-test.diff

Go MAEDA, 2018-01-08 05:16

View differences:

test/helpers/application_helper_test.rb
694 694
          link_to(@russian_test,
695 695
                  "/projects/ecookbook/wiki/Another_page##{russian_eacape}",
696 696
                  :class => "wiki-page"),
697
      # link to anchor
698
      '[[#anchor]]' =>
699
          link_to("#anchor",
700
                  "#anchor",
701
                  :class => "wiki-page"),
702
      '[[#anchor|One-section]]' =>
703
          link_to("One-section",
704
                  "#anchor",
705
                  :class => "wiki-page"),
697 706
      # page that doesn't exist
698 707
      '[[Unknown page]]' =>
699 708
          link_to("Unknown page",
(2-2/5)