Skip to content

Commit

Permalink
Since I was just saying work everywhere else...
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed May 3, 2010
1 parent 9583797 commit 5d47f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_collection.rb
Expand Up @@ -75,7 +75,7 @@ class CollectionTest < Test::Unit::TestCase
end

context "#sort" do
should "change the sort order of the documents" do
should "work" do
@collection.sort(:age).all.should == [@chris, @john, @steve]
@collection.sort(:age.desc).all.should == [@steve, @john, @chris]
end
Expand Down

0 comments on commit 5d47f22

Please sign in to comment.