lib/rubocop/cop/rspec/leaky_constant_declaration.rb in rubocop-rspec-2.11.1 vs lib/rubocop/cop/rspec/leaky_constant_declaration.rb in rubocop-rspec-2.12.0
- old
+ new
@@ -8,10 +8,10 @@
# Constants, including classes and modules, when declared in a block
# scope, are defined in global namespace, and leak between examples.
#
# If several examples may define a `DummyClass`, instead of being a
# blank slate class as it will be in the first example, subsequent
- # examples will be reopening it and modifying its behaviour in
+ # examples will be reopening it and modifying its behavior in
# unpredictable ways.
# Even worse when a class that exists in the codebase is reopened.
#
# Anonymous classes are fine, since they don't result in global
# namespace name clashes.