Module: FakeFS::SpecHelpers::All

Includes:
FakeFS
Defined in:
lib/fakefs/spec_helpers.rb

Overview

Module All

Class Method Summary collapse

Methods included from FakeFS

activate!, activated?, clear!, deactivate!, #use_fakefs, with, with_fresh, without

Class Method Details

.extended(example_group) ⇒ Object



63
64
65
# File 'lib/fakefs/spec_helpers.rb', line 63

def self.extended(example_group)
  example_group.use_fakefs(example_group, with: :all)
end

.included(example_group) ⇒ Object



67
68
69
# File 'lib/fakefs/spec_helpers.rb', line 67

def self.included(example_group)
  example_group.extend self
end