mirror of
https://github.com/meineerde/redmine.git
synced 2026-04-02 14:01:38 +00:00
Fix typo in test/helpers/watchers_helper_test.rb (#33567).
git-svn-id: http://svn.redmine.org/redmine/trunk@19824 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
81969c28b5
commit
51515332f4
@ -34,7 +34,7 @@ class WatchersHelperTest < Redmine::HelperTest
|
|||||||
assert_equal expected, watcher_link(Issue.find(1), User.find(1))
|
assert_equal expected, watcher_link(Issue.find(1), User.find(1))
|
||||||
end
|
end
|
||||||
|
|
||||||
test '#watcher_link with a single objet array' do
|
test '#watcher_link with a single object array' do
|
||||||
expected = link_to(
|
expected = link_to(
|
||||||
"Watch",
|
"Watch",
|
||||||
"/watchers/watch?object_id=1&object_type=issue",
|
"/watchers/watch?object_id=1&object_type=issue",
|
||||||
@ -43,7 +43,7 @@ class WatchersHelperTest < Redmine::HelperTest
|
|||||||
assert_equal expected, watcher_link([Issue.find(1)], User.find(1))
|
assert_equal expected, watcher_link([Issue.find(1)], User.find(1))
|
||||||
end
|
end
|
||||||
|
|
||||||
test '#watcher_link with a multiple objets array' do
|
test '#watcher_link with a multiple objects array' do
|
||||||
expected = link_to(
|
expected = link_to(
|
||||||
"Watch",
|
"Watch",
|
||||||
"/watchers/watch?object_id%5B%5D=1&object_id%5B%5D=3&object_type=issue",
|
"/watchers/watch?object_id%5B%5D=1&object_id%5B%5D=3&object_type=issue",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user