]> source.dussan.org Git - redmine.git/commit
Rails4: use link_to instead of hard coded html at ApplicationHelperTest#test_wiki_lin...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 07:50:20 +0000 (07:50 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 07:50:20 +0000 (07:50 +0000)
commit05b2bd173eefc978fc73ed52cc92fce59ed14add
tree2f87a6a44fe7bdce6573dc9d3fc942a0389f22c1
parent31cab06f91fb0a6bd9648be9540b7b04e955ff1c
Rails4: use link_to instead of hard coded html at ApplicationHelperTest#test_wiki_links_within_local_file_generation_context

On Rails 4.0.2, test fails.

<pre>
  --- expected
  +++ actual
  @@ -1 +1 @@
  -"<p><a href=\"CookBook_documentation.html\" class=\"wiki-page\">documentation</a></p>"
  +"<p><a class=\"wiki-page\" href=\"CookBook_documentation.html\">documentation</a></p>"
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@12784 e93f8b46-1217-0410-a6f0-8f06a7374b81
test/unit/helpers/application_helper_test.rb