thoughtbot/shoulda-matchers — pull request #288 by phaza (2013-05-03 20:08:33+00:00)
Title: Fixes #241 have_and_belong_to_many assertions

Rails 4 made a small change to their reflection api, this simple change takes that into consideration. Doesn't break any backwards compatibility.