Rails/DotSeparatedKeys
autofix seems to keep all dots when combining the scope with the key.
#725
Labels
bug
Something isn't working
When running the new
Rails/DotSeparatedKeys
cop, I noticed that it generates some invalid keys.Expected behavior
should both be transformed into:
Actual behavior
It looks like the Autofix smooshes together the different parts, instead of making sure to remove redundant dots.
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: