searchlogic 2.4.16 → 2.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/searchlogic/search.rb +1 -1
- data/searchlogic.gemspec +1 -1
- data/spec/searchlogic/search_spec.rb +5 -0
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/searchlogic/search.rb
CHANGED
data/searchlogic.gemspec
CHANGED
@@ -350,6 +350,11 @@ describe Searchlogic::Search do
|
|
350
350
|
search = User.search(:order => "descend_by_first_name")
|
351
351
|
search.ordering_by.should == "first_name"
|
352
352
|
end
|
353
|
+
|
354
|
+
it "should handle symbols" do
|
355
|
+
search = User.search(:order => :descend_by_first_name)
|
356
|
+
search.ordering_by.should == "first_name"
|
357
|
+
end
|
353
358
|
end
|
354
359
|
|
355
360
|
context "#method_missing" do
|