diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-03-17 14:11:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-03-17 14:11:37 +0000 |
commit | 509d0fbb5eeae66a98a7a33cc78218cfe9838285 (patch) | |
tree | 2c37a98b608dd34184e879f7ce2822d7cbd5fc71 /test/unit/lib | |
parent | 716da4622e69d654dd765af79f1880b6abbfd6e3 (diff) | |
download | redmine-509d0fbb5eeae66a98a7a33cc78218cfe9838285.tar.gz redmine-509d0fbb5eeae66a98a7a33cc78218cfe9838285.zip |
Fixed test failure (#16362).
git-svn-id: http://svn.redmine.org/redmine/trunk@12980 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib')
-rw-r--r-- | test/unit/lib/redmine/notifiable_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/lib/redmine/notifiable_test.rb b/test/unit/lib/redmine/notifiable_test.rb index 18e4de04e..2e41326ad 100644 --- a/test/unit/lib/redmine/notifiable_test.rb +++ b/test/unit/lib/redmine/notifiable_test.rb @@ -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 |