@@ -61,8 +61,8 class WatchersHelperTest < ActionView::TestCase | |||
|
61 | 61 | |
|
62 | 62 | expected = link_to( |
|
63 | 63 | "Unwatch", |
|
64 |
"/watchers/ |
|
|
65 |
:remote => true, :method => ' |
|
|
64 | "/watchers/watch?object_id=1&object_type=issue", | |
|
65 | :remote => true, :method => 'delete', :class => "issue-1-watcher icon icon-fav" | |
|
66 | 66 | ) |
|
67 | 67 | assert_equal expected, watcher_link(Issue.find(1), User.find(1)) |
|
68 | 68 | end |
General Comments 0
You need to be logged in to leave comments.
Login now