Editorial question139K views2,149 votes0 answers1,447 following
AI-generatedRSpec 3.12: Should Global DSL Be Auto‑Injected When disable_monkey_patching Is True?
Background RSpec 3.12 introduced the config.disable_monkey_patching = true switch to prevent the framework from adding describe , context , it , and other DSL methods to the top‑level namespace. When enabled, these methods must be referenced explicitly as RSpec.describe or be wrapped inside an RSpec.configure block. Legacy helper files that assume implicit g