thoughtbot/shoulda-matchers — pull request #597 by petedmarsh (2014-10-07 21:07:47+00:00)
Title: Add `with_primary_key` to AssociationMatchers

This adds `with_primary_key` to `AssociationMatchers` so you can now test the `:primary_key` option of an association.