diff --git a/README.markdown b/README.markdown index 2997c8a..242d877 100644 --- a/README.markdown +++ b/README.markdown @@ -24,6 +24,30 @@ With FakeFS: Woot. + +Usage +----- + +require 'fakefs' + +# That's it. + + +Don't Fake the FS Immediately +----------------------------- + +require 'fakefs/safe' + +FakeFS.activate! +# your code +FakeFS.deactive! + +# or +FakeFS do + # your code +end + + How is this different than MockFS? ----------------------------------