diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-24 05:40:20 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-24 05:40:20 +0000 |
commit | 6cc799ac2910e00d642a7035930b08b876d62142 (patch) | |
tree | 2c3ef80c3f4a6150ab0e177e03cc7b10c449a651 /test | |
parent | 1daa6937ac7b6c2c3e45c6f8222604de0d38cc1e (diff) | |
download | redmine-6cc799ac2910e00d642a7035930b08b876d62142.tar.gz redmine-6cc799ac2910e00d642a7035930b08b876d62142.zip |
Fix RuboCop offense Lint/SendWithMixinArgument (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22980 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/object_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/object_helpers.rb b/test/object_helpers.rb index b334f77a2..f241af67e 100644 --- a/test/object_helpers.rb +++ b/test/object_helpers.rb @@ -288,7 +288,7 @@ module TrackerObjectHelpers end end end -Tracker.send :include, TrackerObjectHelpers +Tracker.include TrackerObjectHelpers module IssueObjectHelpers def close! @@ -300,4 +300,4 @@ module IssueObjectHelpers Issue.generate!(attributes.merge(:parent_issue_id => self.id)) end end -Issue.send :include, IssueObjectHelpers +Issue.include IssueObjectHelpers |