Rejection of Puritanism in Restoration Literature
When the Republicans, under Oliver Cromwell, held sway in England, Puritanism ruled the land. White collars and black clothes for everyone! Cromwell himself was a Puritan. Puritans, we might remember, were a group of English Protestants who wanted to "reform" the religion. They wanted everyone to lead a very moral, upright, upstanding life. They were a pretty uptight bunch of people.
When monarchy was restored in 1660 and Charles II became king, there was a strong backlash against the Puritans. After all, these were among the groups that had pushed for the execution of Charles's father, Charles I. Puritans, therefore, didn't have an easy time in the Restoration period. They were persecuted, they were attacked, and their beliefs and views were ridiculed. Restoration writers—many of whom (though not all) were Royalists (as in, they supported the monarchy)—rejected Puritan ideals. They made fun of Puritans in the literature.
Chew on This
In Hudibras, Samuel Butler lampoons the Puritans as stuck up and, well, Puritanical. Have a look at the poem here.
William Wycherley's The Country Wife is full of sex and bawdy comedy. Like many comedies of the period, it rejected the Puritan emphasis on morality and chastity. Delve into this play here.