Patch #16313 » 16313-test.diff
| test/helpers/application_helper_test.rb | ||
|---|---|---|
|
link_to(@russian_test,
|
||
|
"/projects/ecookbook/wiki/Another_page##{russian_eacape}",
|
||
|
:class => "wiki-page"),
|
||
|
# link to anchor
|
||
|
'[[#anchor]]' =>
|
||
|
link_to("#anchor",
|
||
|
"#anchor",
|
||
|
:class => "wiki-page"),
|
||
|
'[[#anchor|One-section]]' =>
|
||
|
link_to("One-section",
|
||
|
"#anchor",
|
||
|
:class => "wiki-page"),
|
||
|
# page that doesn't exist
|
||
|
'[[Unknown page]]' =>
|
||
|
link_to("Unknown page",
|
||