Methods
E
I
U
Class Public methods
extended(example_group)
# File lib/fakefs/spec_helpers.rb, line 27
    def self.extended(example_group)
      example_group.use_fakefs(example_group)
    end
included(example_group)
# File lib/fakefs/spec_helpers.rb, line 31
    def self.included(example_group)
      example_group.extend self
    end
Instance Public methods
use_fakefs(describe_block)
# File lib/fakefs/spec_helpers.rb, line 35
    def use_fakefs(describe_block)
      describe_block.before :each do
        FakeFS.activate!
      end

      describe_block.after :each do
        FakeFS.deactivate!
        FakeFS::FileSystem.clear
      end
    end