make fakefs/safe pull in dependencies

This commit is contained in:
Matt Freels 2009-07-27 10:44:31 -07:00
parent ffeb6516f5
commit 91de901bab
2 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,3 @@
require 'fileutils' require 'fakefs/safe'
require 'pathname'
require 'fakefs/base'
require 'fakefs/fake/file'
require 'fakefs/fake/dir'
require 'fakefs/fake/symlink'
require 'fakefs/file_system'
require 'fakefs/fileutils'
require 'fakefs/file'
require 'fakefs/dir'
FakeFS.activate! FakeFS.activate!

View File

@ -1,4 +1,13 @@
require 'fileutils'
require 'pathname'
require 'fakefs/base' require 'fakefs/base'
require 'fakefs/fake/file'
require 'fakefs/fake/dir'
require 'fakefs/fake/symlink'
require 'fakefs/file_system'
require 'fakefs/fileutils'
require 'fakefs/file'
require 'fakefs/dir'
def FakeFS def FakeFS
return ::FakeFS unless block_given? return ::FakeFS unless block_given?