##// END OF EJS Templates
Fixed test after r11343....
Jean-Philippe Lang -
r11116:7c22c307919d
parent child
Show More
@@ -61,8 +61,8 class WatchersHelperTest < ActionView::TestCase
61 61
62 62 expected = link_to(
63 63 "Unwatch",
64 "/watchers/unwatch?object_id=1&object_type=issue",
65 :remote => true, :method => 'post', :class => "issue-1-watcher icon icon-fav"
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