I gave this talk at the March 2016 Test Ruby PDX meetup. The talk is about how and why to test Rake tasks.

Code from the talk:

Here are the slides: