minor: whitespace

This commit is contained in:
Kyle Banker 2009-12-14 13:58:42 -05:00
parent f633e8ad69
commit 87726fe74c
1 changed files with 2 additions and 2 deletions

View File

@ -91,11 +91,11 @@ class TestCollection < Test::Unit::TestCase
assert_equal ["a", "b", "c"], @@test.distinct("b.c").sort assert_equal ["a", "b", "c"], @@test.distinct("b.c").sort
end end
should "filter collection with query" do should "filter collection with query" do
assert_equal [2, 3], @@test.distinct(:a, {:a => {"$gt" => 1}}).sort assert_equal [2, 3], @@test.distinct(:a, {:a => {"$gt" => 1}}).sort
end end
should "filter nested objects" do should "filter nested objects" do
assert_equal ["a", "b"], @@test.distinct("b.c", {"b.c" => {"$ne" => "c"}}).sort assert_equal ["a", "b"], @@test.distinct("b.c", {"b.c" => {"$ne" => "c"}}).sort
end end
end end