Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't worry about ambiguous blocks in RSpec
Rubocop 0.48 introduced a new Lint/AmbiguousBlockAssocation cop [1], which guards against the issues detailed in rubocop/rubocop#3931. However, the pattern is a solid RSpec idiom and not likely to cause the problems Lint/AmbigiousBlockAssociation attempts to guard against. For example: expect { foo }.to change { bar } so we'll just ignore it in RSpec as suggested in rubocop/rubocop#4222. [1]: https://github.com/bbatsov/rubocop/blob/d1b9d66c3518389b0c408a6a4a42061b36748df4/relnotes/v0.48.0.md
- Loading branch information