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
pull/351/head
Eric Davis 15 years ago
parent 07aa3c55bd
commit 29ab7b4108
  1. 2
      test/unit/document_category_test.rb

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

Loading…
Cancel
Save