Fixed test failure (#16362).

git-svn-id: http://svn.redmine.org/redmine/trunk@12980 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-03-17 14:11:37 +00:00
parent 716da4622e
commit 509d0fbb5e
1 changed files with 1 additions and 3 deletions

View 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