diff options
Diffstat (limited to 'test/unit/enumeration_test.rb')
-rw-r--r-- | test/unit/enumeration_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/enumeration_test.rb b/test/unit/enumeration_test.rb index 3695e144d..ba64440de 100644 --- a/test/unit/enumeration_test.rb +++ b/test/unit/enumeration_test.rb @@ -155,6 +155,7 @@ class EnumerationTest < ActiveSupport::TestCase b = IssuePriority.create!(:name => 'B') override = IssuePriority.create!(:name => 'BB', :parent_id => b.id) b.move_to = 'higher' + b.save! assert_equal [2, 1, 1], [a, b, override].map(&:reload).map(&:position) end |