Closed nickpellant closed 4 years ago
@nickpellant please provide code that emits a warning
@flash-gordon In my codebase, this has to do with the usage of calls to fake
in factories, i.e:
Factory.define(:entity) do |f|
f.entity_number { fake(:number, :within, range: -20..20) }
end
Thanks for reporting, fixed in 0.10.2
Describe the bug
rom-factory
causes deprecation warnings when used with Ruby 2.7.To Reproduce
rom-factory
with Ruby 2.7Example
Expected behavior
It should not cause deprecation warnings.
Your environment