pivotal/sunspot_matchers — pull request #11 by layam (2013-08-02 11:50:14+00:00)
Title: Sunspot::Query::Sort::RandomSort to_param method now only patched on initialization.

Previously, having sunspot_matchers included in the Gemfile would modify the Sunspot::Query::Sort::RandomSort to_param method. This breaks any integration tests which use the random sort against real solr.

This pull request moves the monkey-patch into SunspotSessionSpy's initialize method preventing the patch if not in use.