diff --git a/lib/fakefs/file.rb b/lib/fakefs/file.rb index 6c03f74..d9dac53 100644 --- a/lib/fakefs/file.rb +++ b/lib/fakefs/file.rb @@ -1,3 +1,5 @@ +require 'stringio' + module FakeFS class File < StringIO PATH_SEPARATOR = '/' diff --git a/lib/fakefs/safe.rb b/lib/fakefs/safe.rb index 09a2bbb..a1b804c 100644 --- a/lib/fakefs/safe.rb +++ b/lib/fakefs/safe.rb @@ -1,6 +1,5 @@ require 'fileutils' require 'pathname' -require 'stringio' require 'fakefs/base' require 'fakefs/fake/file' require 'fakefs/fake/dir'