File.exist? should return a real boolean (nicer debugging)
This commit is contained in:
parent
a7f20095f0
commit
1226acc4b3
@ -117,7 +117,7 @@ module FakeFS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.exist?(path)
|
def self.exist?(path)
|
||||||
FileSystem.find(path) || false
|
!!FileSystem.find(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
Loading…
Reference in New Issue
Block a user