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
backports-3.10.2 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.1 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.1 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.10.0 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.9.1 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.9.1 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.9.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.9.0 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.8.0 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.8.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.7.0 frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
backports-3.7.0 spec/tags/1.8.6/core/file/open_spec.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/backports-3.6.8/spec/tags/1.8.6/core/file/open_spec.rb
backports-3.6.8 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.6.7 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.6.6 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.6.5 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.6.4 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.6.3 spec/tags/1.8.6/core/file/open_spec.rb