Updated the unit test so Enumerations are tested separately from the subclasses.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2944 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2009-10-21 22:34:17 +00:00
parent 07aa3c55bd
commit 29ab7b4108
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
class DocumentCategoryTest < ActiveSupport::TestCase class DocumentCategoryTest < ActiveSupport::TestCase
fixtures :enumerations, :documents fixtures :enumerations, :documents, :issues
def test_should_be_an_enumeration def test_should_be_an_enumeration
assert DocumentCategory.ancestors.include?(Enumeration) assert DocumentCategory.ancestors.include?(Enumeration)