Fix syntax error in Active Record tests