i can remember a job i had where the vast majority of my co workers had very different beliefs to my own. rather than just agree with them i stayed true to my own thoughts.
if it gets to be too much be sure to walk away.
if things got a bit much i would excuse myself and go elsewhere. i did not want to get into an argument, but was not going to compromise my own beliefs by lying.