diff --git a/test/fake/symlink_test.rb b/test/fake/symlink_test.rb index 2c59c69..d63208b 100644 --- a/test/fake/symlink_test.rb +++ b/test/fake/symlink_test.rb @@ -4,8 +4,9 @@ require 'test/unit' class FakeSymlinkTest < Test::Unit::TestCase include FakeFS - + def test_symlink_has_method_missing_as_private - assert FakeSymlink.private_instance_methods.include?("method_missing") + methods = FakeSymlink.private_instance_methods.map { |m| m.to_s } + assert methods.include?("method_missing") end -end \ No newline at end of file +end