update gems and fix tests

This commit is contained in:
Torsten Ruger
2016-12-06 12:08:18 +02:00
parent 4b05b48197
commit 5ac14ddccc
17 changed files with 52 additions and 79 deletions

View File

@ -50,9 +50,9 @@ class TestClass < MiniTest::Test
assert_equal Parfait::Method , @try.get_instance_method(:foo).class
end
def test_method_get_nothere
assert_equal nil , @try.get_instance_method(:foo)
assert_nil @try.get_instance_method(:foo)
test_remove_method
assert_equal nil , @try.get_instance_method(:foo)
assert_nil @try.get_instance_method(:foo)
end
def test_resolve
foo = foo_method :Object