From 11e80d2ec36e6f8a89e090fad29be69e20aa337d Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 28 Oct 2009 11:02:25 -0700 Subject: [PATCH] note that fakefs uses pathname and fileutils. closes #12 --- README.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.markdown b/README.markdown index 98f73c3..b64e457 100644 --- a/README.markdown +++ b/README.markdown @@ -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? ------