Fix for passing rake spec