minor: test description
This commit is contained in:
parent
a7de4f2eed
commit
078372f869
@ -686,7 +686,7 @@ class TestCollection < Test::Unit::TestCase
|
|||||||
assert_nil cursor.next_document
|
assert_nil cursor.next_document
|
||||||
end
|
end
|
||||||
|
|
||||||
should "" do
|
should "fail tailable cursor on a non-capped collection" do
|
||||||
col = @@db['regular-collection']
|
col = @@db['regular-collection']
|
||||||
col.insert({:a => 1000})
|
col.insert({:a => 1000})
|
||||||
tail = Cursor.new(col, :tailable => true, :order => [['$natural', 1]])
|
tail = Cursor.new(col, :tailable => true, :order => [['$natural', 1]])
|
||||||
|
Loading…
Reference in New Issue
Block a user