From: Marius Balteanu Date: Sun, 3 Mar 2024 22:27:07 +0000 (+0000) Subject: Fix rubocop warning (#38975). X-Git-Tag: 6.0.0~386 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1ffdb2316f507de4f89067da364a566d667e4e3;p=redmine.git Fix rubocop warning (#38975). git-svn-id: https://svn.redmine.org/redmine/trunk@22759 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/lib/redmine/plugin_test.rb b/test/unit/lib/redmine/plugin_test.rb index 66865481b..66d2fb830 100644 --- a/test/unit/lib/redmine/plugin_test.rb +++ b/test/unit/lib/redmine/plugin_test.rb @@ -62,7 +62,7 @@ class Redmine::PluginTest < ActiveSupport::TestCase assert_equal File.join(@klass.directory, 'foo_plugin', 'assets'), plugin.assets_directory end - ::FooModel = Class.new(ActiveRecord::Base) + ::FooModel = Class.new(ApplicationRecord) def test_register_attachment_object_type Redmine::Acts::Attachable::ObjectTypeConstraint.expects(:register_object_type).with("foo_models") @klass.register :foo_plugin do