summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_priority_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-18 18:38:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-18 18:38:03 +0000
commit39ff11ba06a7c72eb27519b3e918969f43596573 (patch)
tree83f9e45b53d50c245b35e6dccd867f61e9e906c4 /test/unit/issue_priority_test.rb
parentdb64340419eceec5966ffc910daf38cf35506fd3 (diff)
downloadredmine-39ff11ba06a7c72eb27519b3e918969f43596573.tar.gz
redmine-39ff11ba06a7c72eb27519b3e918969f43596573.zip
Removes #move_to= (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15339 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_priority_test.rb')
-rw-r--r--test/unit/issue_priority_test.rb2
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