Sha256: 829e25b752dfe31e6390e7564c04dc1b4672d9215704f6619c955dc7f28af2d6

Contents?: true

Size: 894 Bytes

Versions: 45

Compression:

Stored size: 894 Bytes

Contents

fails:File.open on a FIFO opens it as a normal file
fails:File.open opens file when call with a block (basic case)
fails:File.open opens a file with mode string and block
fails:File.open opens a file with mode num and block
fails:File.open opens the file when passed mode, num, permissions and block
fails:File.open opens the file when call with fd
fails:File.open opens a file with a file descriptor d and a block
fails:File.open raises a SystemCallError if passed an invalid Integer type
fails:File.open raises an IOError when read in a block opened with File::RDONLY|File::APPEND mode
fails:File.open raises an IOError if the file exists when open with File::RDONLY|File::APPEND
fails:File.open defaults external_encoding to ASCII-8BIT for binary modes
fails:File.open when passed a file descriptor opens a file
fails:File.open when passed a file descriptor opens a file when passed a block

Version data entries

45 entries across 32 versions & 4 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/backports-3.12.0/frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.16.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/backports-3.15.0/frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.15.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.14.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.13.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.12.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.4 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.4 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.3 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.3 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.2 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.2 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.1 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.1 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.11.0 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.3 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.3 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.2 spec/tags/1.8.6/core/file/open_spec.rb