Caleb Hearth

Caleb Hearth

Caleb is a dreamer, speaker, and computer whisperer. He organized the Keep Ruby Weird conference, which of course you’ve heard of and are very impressed by. When he’s not rolling dice, making mead, or doing home improvement projects, he codes in Ruby and Swift. He walked barefoot from the wintry tundra of Alaska to the hot hills of Texas. Okay, that’s not true, but he did live in those places. He currently hails from Denver, CO.

RSpec: The Bad Parts

RSpec is good, but it’s even better with less of it. We’ll first look through a heavily obfuscated real-world example, learning why parts of RSpec like let, subject, before, shared_examples, and behaves like can make your tests hard to read, difficult to navigate, and more complex. We’ll discuss when DRY is not worth the price. Then we’ll refactor some real open source RSpec code from Mastodon. In the end, we’ll look at what’s left. RSpec: The Good Parts.

Travel sponsored by Buoy.