Presented at RailsRemoteConf.com 2015
Don’t you hate when testing takes 3x as long because your specs are hard to understand? Or when testing conditional permutation leads to a ton of duplication?
Following a few simple patterns, you can easily take a bloated spec and make it readable, DRY and simple to extend. This talk will step through a few solid patterns to tame the chaos. We will take a bloated sample spec and refactor it to something manageable, readable and concise.