Fix bad logic in Active Record version test in spec