mislav/rspec-rails-mocha — pull request #8 by toddwf (2011-10-31 16:58:25+00:00)
Title: changes to allow for composite primary key gem compatibility

I believe this is consistent with your reply from a few weeks back regarding infusing the changes for cpk into your existing functionality (although I'm not entirely sure I comprehend what you're doing there as the next_id seems completely abstract). This change works in my code. Your tests in /spec are passing locally, but there's nothing testing explicitly for a cpk model and it looks like changes to check for that would be pretty invasive.