Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Declare Constants guideline #101
Constants defined in a block are defined in a global namespace, and are not cleared up between examples.
If several examples may define a
Anonymous classes are fine since they don't result in global namespace name clashes.
More accessible representation of the added guideline https://github.com/rubocop-hq/rspec-style-guide/blob/add-leaky-constant-guideline/README.adoc#declare-constants