diff --git a/lib/fakefs.rb b/lib/fakefs.rb index 7529583..3e68f18 100644 --- a/lib/fakefs.rb +++ b/lib/fakefs.rb @@ -117,7 +117,7 @@ module FakeFS end def self.exist?(path) - FileSystem.find(path) || false + !!FileSystem.find(path) end class << self