Permalink
Browse files

@hamman contributed test

  • Loading branch information...
1 parent 9ac1bf6 commit 1c44bb8ddbe7b355acb6bc20f0ee30fabf779cc1 @bkoski bkoski committed Aug 24, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/test_sort_by_str.rb
@@ -18,6 +18,7 @@ class SortByStrTest < Test::Unit::TestCase
should "sort correctly on a multi-field sort" do
assert_equal [@blue_10, @red_10, @red_15], @all_data.sort_by_str('size, color')
+ assert_equal [[1,1],[1,2],[1,2],[2,3]], [[1,2],[2,3],[1,2],[1,1]].sort_by_str('first, last')
end
should "respect DESC modifier" do

0 comments on commit 1c44bb8

Please sign in to comment.