Redefined rake spec to work better with travis