fakefs/test/fake/symlink_test.rb
2009-10-06 22:03:39 -07:00

13 lines
353 B
Ruby

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
require 'fakefs/safe'
require 'test/unit'
class FakeSymlinkTest < Test::Unit::TestCase
include FakeFS
def test_symlink_has_method_missing_as_private
methods = FakeSymlink.private_instance_methods.map { |m| m.to_s }
assert methods.include?("method_missing")
end
end