@@ -260,9 +260,9 RAW | |||||
260 |
|
260 | |||
261 | def test_redmine_links |
|
261 | def test_redmine_links | |
262 | issue_link = link_to('#3', {:controller => 'issues', :action => 'show', :id => 3}, |
|
262 | issue_link = link_to('#3', {:controller => 'issues', :action => 'show', :id => 3}, | |
263 |
:class => |
|
263 | :class => Issue.find(3).css_classes, :title => 'Error 281 when updating a recipe (New)') | |
264 | note_link = link_to('#3', {:controller => 'issues', :action => 'show', :id => 3, :anchor => 'note-14'}, |
|
264 | note_link = link_to('#3', {:controller => 'issues', :action => 'show', :id => 3, :anchor => 'note-14'}, | |
265 |
:class => |
|
265 | :class => Issue.find(3).css_classes, :title => 'Error 281 when updating a recipe (New)') | |
266 |
|
266 | |||
267 | changeset_link = link_to('r1', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 1}, |
|
267 | changeset_link = link_to('r1', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 1}, | |
268 | :class => 'changeset', :title => 'My very first commit') |
|
268 | :class => 'changeset', :title => 'My very first commit') | |
@@ -752,7 +752,7 RAW | |||||
752 |
|
752 | |||
753 | expected = <<-EXPECTED |
|
753 | expected = <<-EXPECTED | |
754 | <p><a href="/projects/ecookbook/wiki/CookBook_documentation" class="wiki-page">CookBook documentation</a></p> |
|
754 | <p><a href="/projects/ecookbook/wiki/CookBook_documentation" class="wiki-page">CookBook documentation</a></p> | |
755 |
<p><a href="/issues/1" class=" |
|
755 | <p><a href="/issues/1" class="#{Issue.find(1).css_classes}" title="Can't print recipes (New)">#1</a></p> | |
756 | <pre> |
|
756 | <pre> | |
757 | [[CookBook documentation]] |
|
757 | [[CookBook documentation]] | |
758 |
|
758 |
General Comments 0
You need to be logged in to leave comments.
Login now