diff options
Diffstat (limited to 'test/unit/issue_priority_test.rb')
-rw-r--r-- | test/unit/issue_priority_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_priority_test.rb b/test/unit/issue_priority_test.rb index bc4202d74..9435a4757 100644 --- a/test/unit/issue_priority_test.rb +++ b/test/unit/issue_priority_test.rb @@ -82,7 +82,7 @@ class IssuePriorityTest < ActiveSupport::TestCase def test_moving_a_priority_should_update_position_names prio = IssuePriority.first - prio.move_to = 'lowest' + prio.position = IssuePriority.count prio.save! prio.reload assert_equal 'highest', prio.position_name |