diff options
Diffstat (limited to 'test/unit/enumeration_test.rb')
-rw-r--r-- | test/unit/enumeration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/enumeration_test.rb b/test/unit/enumeration_test.rb index abb15353a..d9d330721 100644 --- a/test/unit/enumeration_test.rb +++ b/test/unit/enumeration_test.rb @@ -25,7 +25,7 @@ class EnumerationTest < ActiveSupport::TestCase def test_objects_count # low priority - assert_equal 5, Enumeration.find(4).objects_count + assert_equal 6, Enumeration.find(4).objects_count # urgent assert_equal 0, Enumeration.find(7).objects_count end @@ -79,7 +79,7 @@ class EnumerationTest < ActiveSupport::TestCase def test_destroy_with_reassign Enumeration.find(4).destroy(Enumeration.find(6)) assert_nil Issue.find(:first, :conditions => {:priority_id => 4}) - assert_equal 5, Enumeration.find(6).objects_count + assert_equal 6, Enumeration.find(6).objects_count end def test_should_be_customizable |