Skip to content

Instantly share code, notes, and snippets.

@hlegius
Created May 27, 2013 23:45
Show Gist options
  • Save hlegius/5659597 to your computer and use it in GitHub Desktop.
Save hlegius/5659597 to your computer and use it in GitHub Desktop.
Solr Sunspot Mocking session
::Sunspot.session = ::Sunspot::Rails::StubSessionProxy.new(::Sunspot.session)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment