diff --git a/lib/fakefs/file.rb b/lib/fakefs/file.rb index ef0a844..3f5b048 100644 --- a/lib/fakefs/file.rb +++ b/lib/fakefs/file.rb @@ -134,7 +134,6 @@ module FakeFS raise IOError, 'closed stream' unless @open raise IOError, 'not open for writing' if read_only? - create_missing_file @file.content += content end alias_method :print, :write