Class: Sunspot::Query::Sort::RandomSort
- Inherits:
-
Abstract
- Object
- Abstract
- Sunspot::Query::Sort::RandomSort
- Defined in:
- lib/sunspot_matchers_testunit/sunspot_session_spy.rb
Overview
Support Sunspot random field in test – Sunspot originally generate a random number for the field
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
109 110 111 |
# File 'lib/sunspot_matchers_testunit/sunspot_session_spy.rb', line 109 def to_param "random #{direction_for_solr}" end |