RSpec: 5 rules for using let effectively

let can enhance readability when used sparingly (1, 2, or maybe 3 declarations) in any given example group, but that can quickly degrade with overuse. — RSpec Official Documentation Motivation I’ve been using Rspec since 2012 and in all this time I’ve never had a really clear picture of how to best use let. I […]