Open
Description
What’s happening?
I enabled Warning[:deprecated] = true
in my spec/spec_helper.rb
.
Running specs on Ruby 3.4.4 with RSpec 3.13.5 shows on my console warnings like
/Users/thomas/.rbenv/versions/3.4.4/lib/ruby/gems/3.4.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/instance_method_stasher.rb:8: warning: string returned by :id.to_s will be frozen in the future
I guess it has to do with "stashed_method_name", but a simple .dup doesnt solve the problem.
Metadata
Metadata
Assignees
Labels
No labels