mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-18 13:22:55 +00:00
Code cleanup: RuboCop: Fix Rails/ActiveRecordAliases in test/unit/issue_priority_test.rb (#32628).
git-svn-id: http://svn.redmine.org/redmine/trunk@19451 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ac0b69298c
commit
ca214d2789
@ -111,7 +111,7 @@ class IssuePriorityTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
default = IssuePriority.find_by_position(5)
|
||||
default.update_attributes is_default: true
|
||||
default.update is_default: true
|
||||
|
||||
[1, 2, 3, 4].each do |p|
|
||||
assert IssuePriority.find_by_position(p).low?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user