minor: test that already passes

This commit is contained in:
Mike Dirolf 2009-08-18 10:20:16 -04:00
parent fc49e8c982
commit 256e64c4a3
1 changed files with 9 additions and 0 deletions

View File

@ -100,6 +100,15 @@ class TestCollection < Test::Unit::TestCase
end end
end end
def test_count
@@test.drop
assert_equal 0, @@test.count
@@test.save({})
@@test.save({})
assert_equal 2, @@test.count
end
def test_find_one def test_find_one
id = @@test.save("hello" => "world", "foo" => "bar") id = @@test.save("hello" => "world", "foo" => "bar")