From 2c18e97fb81425ce3e14550010425cca0ccefc73 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 8 Dec 2022 18:42:48 +0000 Subject: [PATCH] Fixes deprecation warnings on authorizer_spec --- spec/lib/reports/enterprise_fee_summary/authorizer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/reports/enterprise_fee_summary/authorizer_spec.rb b/spec/lib/reports/enterprise_fee_summary/authorizer_spec.rb index f629c84fae..9409ad5f04 100644 --- a/spec/lib/reports/enterprise_fee_summary/authorizer_spec.rb +++ b/spec/lib/reports/enterprise_fee_summary/authorizer_spec.rb @@ -170,7 +170,7 @@ module Reporting def stub_model(model, params) model.new.tap do |instance| - instance.stub(params) + allow(instance).to receive_messages(params) end end end