Implemented FileUtils#rm_r
This commit is contained in:
parent
d975149d6f
commit
29dd607869
@ -31,6 +31,12 @@ FakeFS provides a test suite and works with symlinks. It's also strictly a
|
||||
test-time dependency: your actual library does not need to use or know about
|
||||
FakeFS.
|
||||
|
||||
|
||||
Speed?
|
||||
------
|
||||
http://gist.github.com/150348
|
||||
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
|
@ -19,6 +19,7 @@ module FakeFS
|
||||
FileSystem.delete(path)
|
||||
end
|
||||
alias_method :rm_rf, :rm
|
||||
alias_method :rm_r, :rm
|
||||
|
||||
def ln_s(target, path)
|
||||
raise Errno::EEXIST, path if FileSystem.find(path)
|
||||
|
Loading…
Reference in New Issue
Block a user