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:
parent
07aa3c55bd
commit
29ab7b4108
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue