thoughtbot/shoulda-matchers — pull request #411 by chulkilee (2014-01-06 23:09:47+00:00)
Title: Reject associations when class is not defined

In most cases associated classes will be loaded together, so it would be great if we can catch when wrong class name is used or class is missing.