Ignore Ruby warnings from rspec-parameterized-table_syntax in Ruby < 3.2
When running in Ruby < 3.2 rspec-parameterized-table_syntax emits the following warning: ... ruby/3.1.3/lib/ruby/gems/3.1.0/gems/rspec-parameterized-table_syntax-1.0.0/lib/rspec/parameterized/table_syntax.rb:38: warning: Refinement#include is deprecated and will be removed in Ruby 3.2 The gem already took care of this and already supports Refinements#import_methods for Ruby 3.2+. To silence this distracting (and useless warning) we use ignore this specific warnings from this very gem (and only this gem) by using `Warning.ignore`.
spec/deprecation_warnings.rb
0 → 100644
想要评论请 注册 或 登录