test/test_helper.rb in jnunemaker-mongomapper-0.3.1 vs test/test_helper.rb in jnunemaker-mongomapper-0.3.2

- old
+ new

@@ -12,10 +12,10 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) dir = (Pathname(__FILE__).dirname + '..' + 'lib').expand_path require dir + 'mongomapper' -class Test::Unit::TestCase +class Test::Unit::TestCase def clear_all_collections MongoMapper::Document.descendants.map(&:delete_all) end custom_matcher :be_nil do |receiver, matcher, args| \ No newline at end of file