Fix Rake task on old versions of RSpec