Skip to content

Commit

Permalink
Updated latest spec to use extend
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmaissroff committed Apr 1, 2022
1 parent caba911 commit a5b4743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/memo_wise_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5b4743

Please sign in to comment.