class Sunspot::Query::Sort::RandomSort

Support Sunspot random field in test – Sunspot originally generate a random number for the field

Public Instance Methods

to_param() click to toggle source
# File lib/sunspot_matchers_testunit/sunspot_session_spy.rb, line 109
def to_param
  "random #{direction_for_solr}"
end