]> source.dussan.org Git - redmine.git/commitdiff
Fixed test failure (#16362).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 17 Mar 2014 14:11:37 +0000 (14:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 17 Mar 2014 14:11:37 +0000 (14:11 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12980 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/notifiable_test.rb

index 18e4de04e1597dc8635504cf51375de2f083a50e..2e41326ad08a304d294bdd34267a4c25c4446eea 100644 (file)
@@ -22,9 +22,7 @@ class Redmine::NotifiableTest < ActiveSupport::TestCase
   end
 
   def test_all
-    assert_equal 12, Redmine::Notifiable.all.length
-
-    %w(issue_added issue_updated issue_note_added issue_status_updated issue_status_updated issue_priority_updated news_added news_comment_added document_added file_added message_posted wiki_content_added wiki_content_updated).each do |notifiable|
+    %w(issue_added issue_updated issue_note_added issue_status_updated issue_assigned_to_updated issue_priority_updated news_added news_comment_added document_added file_added message_posted wiki_content_added wiki_content_updated).each do |notifiable|
       assert Redmine::Notifiable.all.collect(&:name).include?(notifiable), "missing #{notifiable}"
     end
   end