diff options
author | Go MAEDA <maeda@farend.jp> | 2020-01-21 04:27:12 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-01-21 04:27:12 +0000 |
commit | ca214d2789076f5985e9be5755e42b1269f98c1b (patch) | |
tree | 7f829e733f053fadcbda3ac619c83cbb62330d7c /test/unit/issue_priority_test.rb | |
parent | ac0b69298ca9bc3dfe5d57ebf8eeaab161d8e30f (diff) | |
download | redmine-ca214d2789076f5985e9be5755e42b1269f98c1b.tar.gz redmine-ca214d2789076f5985e9be5755e42b1269f98c1b.zip |
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
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 592d18f04..d2d17865b 100644 --- a/test/unit/issue_priority_test.rb +++ b/test/unit/issue_priority_test.rb @@ -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? |