Rake and RSpec functions stolen from Thoughtbot