DEV Community

Discussion on: Intro to RSpec in Rails (part 2): Improving Tests with `let` and `context`

Collapse
 
cabloo profile image
Cabloo

I take this syntax one step further and use the let(:...) options to override values in each context, building up state in sub contexts: techlead.tips/2021/11/building-up-...