Fix Ruby 2.7 warnings in file collection specs
In Ruby 3.0, positional arguments and keyword arguments will be separated. In Ruby 2.7, deprecation warnings related to keyword arguments show up. Use a double splat to specify `collection_default_args` as keyword arguments. The `diff statistics` shared example is also used in other file collection specs so the warnings in those specs are also fixed.
Showing
Please register or sign in to comment