private_instance_methods returns symbols in 1.9
This commit is contained in:
parent
1c3a17ccc8
commit
54cc2b7358
@ -6,6 +6,7 @@ class FakeSymlinkTest < Test::Unit::TestCase
|
|||||||
include FakeFS
|
include FakeFS
|
||||||
|
|
||||||
def test_symlink_has_method_missing_as_private
|
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
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user