Maybe this is a switch we can allow people to turn on. The compactness of the Riot DSL is a nice feature separate from how setups and assertions behave. Maybe it's time Riot grows a little.
This could possibly be done with a simple:
set :make_dominikh_happy, true
and then Context can look for :make_dominikh_happy. Or maybe even as a middleware that can be optionally required in that looks for this option? Yes, the optional middleware seems best since it only impacts those who want this.
Maybe this is a switch we can allow people to turn on. The compactness of the Riot DSL is a nice feature separate from how setups and assertions behave. Maybe it's time Riot grows a little.
This could possibly be done with a simple:
and then Context can look for
:make_dominikh_happy. Or maybe even as a middleware that can be optionally required in that looks for this option? Yes, the optional middleware seems best since it only impacts those who want this.