thoughtbot/shoulda-matchers — pull request #124 by elliterate (2012-06-28 18:45:38+00:00)
Title: Restore uniqueness scope values after verifying each scope.

A test for a validation with multiple scopes would always pass as long as there was a validation with the first scope. Subsequent scopes would pass verification because the first scope value had already been made unique.