Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_project
See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12822 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
89920d2714
commit
936052f9f6
|
@ -1161,7 +1161,8 @@ RAW
|
|||
link_to_project(project, :action => 'settings')
|
||||
assert_equal %(<a href="http://test.host/projects/ecookbook?jump=blah">eCookbook</a>),
|
||||
link_to_project(project, {:only_path => false, :jump => 'blah'})
|
||||
assert_equal %(<a href="/projects/ecookbook/settings" class="project">eCookbook</a>),
|
||||
result = link_to("eCookbook", "/projects/ecookbook/settings", :class => "project")
|
||||
assert_equal result,
|
||||
link_to_project(project, {:action => 'settings'}, :class => "project")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue