diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-10 17:52:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-10 17:52:19 +0000 |
commit | 7c22c307919d66b86cec35511a0f439e623569bb (patch) | |
tree | f096f6f92d048784cdb81418d023cf9098f946c3 /test/unit | |
parent | a24bf65a8b9f5371acfdb28e92e2c55897a549cb (diff) | |
download | redmine-7c22c307919d66b86cec35511a0f439e623569bb.tar.gz redmine-7c22c307919d66b86cec35511a0f439e623569bb.zip |
Fixed test after r11343.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11346 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/helpers/watchers_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/helpers/watchers_helper_test.rb b/test/unit/helpers/watchers_helper_test.rb index 1f541d709..ce4527469 100644 --- a/test/unit/helpers/watchers_helper_test.rb +++ b/test/unit/helpers/watchers_helper_test.rb @@ -61,8 +61,8 @@ class WatchersHelperTest < ActionView::TestCase expected = link_to( "Unwatch", - "/watchers/unwatch?object_id=1&object_type=issue", - :remote => true, :method => 'post', :class => "issue-1-watcher icon icon-fav" + "/watchers/watch?object_id=1&object_type=issue", + :remote => true, :method => 'delete', :class => "issue-1-watcher icon icon-fav" ) assert_equal expected, watcher_link(Issue.find(1), User.find(1)) end |