Vote #80910
完了Fix typo in watchers_controller.rb
0%
journals
I found the same typos in another file.
<pre><code class="diff">
diff --git a/test/helpers/watchers_helper_test.rb b/test/helpers/watchers_helper_test.rb
index ccbc80875..057b1bdd8 100644
--- a/test/helpers/watchers_helper_test.rb
+++ b/test/helpers/watchers_helper_test.rb
@@ -34,7 +34,7 @@ class WatchersHelperTest < Redmine::HelperTest
assert_equal expected, watcher_link(Issue.find(1), User.find(1))
end
- test '#watcher_link with a single objet array' do
+ test '#watcher_link with a single object array' do
expected = link_to(
"Watch",
"/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))
end
- test '#watcher_link with a multiple objets array' do
+ test '#watcher_link with a multiple objects array' do
expected = link_to(
"Watch",
"/watchers/watch?object_id%5B%5D=1&object_id%5B%5D=3&object_type=issue",
</code></pre>
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Admin Redmine さんが約4年前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 4.2.0_152 にセット