From 06dcc3c927e680b31acec65c85c96a343260708c Mon Sep 17 00:00:00 2001 From: utilum Date: Fri, 13 Mar 2020 18:06:54 +0100 Subject: [PATCH] Fix warning: method redefined --- activejob/test/support/delayed_job/delayed/backend/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activejob/test/support/delayed_job/delayed/backend/test.rb b/activejob/test/support/delayed_job/delayed/backend/test.rb index 1691896b7c..107adf2ba9 100644 --- a/activejob/test/support/delayed_job/delayed/backend/test.rb +++ b/activejob/test/support/delayed_job/delayed/backend/test.rb @@ -21,7 +21,7 @@ module Delayed include Delayed::Backend::Base - cattr_accessor :id, default: 0 + cattr_accessor :id, default: 0, instance_accessor: false def initialize(hash = {}) self.attempts = 0