From a5b47430a37ae4548e05ac08930615cdc0325533 Mon Sep 17 00:00:00 2001 From: Jemma Issroff Date: Tue, 1 Feb 2022 14:28:37 -0500 Subject: [PATCH] Updated latest spec to use extend --- spec/memo_wise_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/memo_wise_spec.rb b/spec/memo_wise_spec.rb index abe9025d..874c2a6b 100644 --- a/spec/memo_wise_spec.rb +++ b/spec/memo_wise_spec.rb @@ -640,7 +640,7 @@ def self.module_method; end let(:module1) do Module.new do - prepend MemoWise + extend MemoWise def module1_method_counter @module1_method_counter || 0 # rubocop:disable RSpec/InstanceVariable