From 2448b18bba6902cffc5f3044081c5945fb1d321d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 9 Feb 2014 09:36:38 +0000 Subject: test_tdb_mt: do not barf on unwrapped :initialize Not sure if it's an rbx implementation difference or not, but initialize is obviously wrapped and probably(?) private depending on the version/implemntation of Ruby... --- test/test_tdb_mt.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_tdb_mt.rb b/test/test_tdb_mt.rb index 0f8211d..5e38901 100644 --- a/test/test_tdb_mt.rb +++ b/test/test_tdb_mt.rb @@ -81,6 +81,7 @@ class Test_TDB_MT < Test::Unit::TestCase m += [ :include?, :member? ] m.sort! unwrapped = ( (m - mt) | (mt - m)).uniq + unwrapped -= [ :initialize ] assert unwrapped.empty?, "unwrapped methods: #{unwrapped.inspect}" @tdb = TDB.new(nil) respond_to?(:refute_match) and -- cgit v1.2.3-24-ge0c7