if there is an exception just let it get thrown so we get a useful stack trace
This commit is contained in:
parent
acfd505061
commit
ff0a781d7f
|
@ -425,8 +425,6 @@ class DBAPITest < Test::Unit::TestCase
|
||||||
@@coll.hint = nil
|
@@coll.hint = nil
|
||||||
assert_nil @@coll.hint
|
assert_nil @@coll.hint
|
||||||
assert_equal 1, @@coll.find('a' => 1).to_a.size
|
assert_equal 1, @@coll.find('a' => 1).to_a.size
|
||||||
rescue => ex
|
|
||||||
fail ex.to_s
|
|
||||||
ensure
|
ensure
|
||||||
@@coll.drop_index('test_a_index')
|
@@coll.drop_index('test_a_index')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue