note that fakefs uses pathname and fileutils. closes #12

This commit is contained in:
Chris Wanstrath 2009-10-28 11:02:25 -07:00
parent e5d7b716ed
commit 11e80d2ec3

View File

@ -47,6 +47,7 @@ Don't Fake the FS Immediately
# your code
end
RSpec
-----------------------------
The above approach works with RSpec as well. In addition to this you may use the
@ -62,6 +63,14 @@ test-time dependency: your actual library does not need to use or know about
FakeFS.
Caveats
-------
FakeFS internally uses the `Pathname` and `FileUtils` constants. If you use
these in your app, be certain you're properly requiring them and not counting
on FakeFS' own require.
Speed?
------
<http://gist.github.com/156091>