Sha256: 712f8233097392bc7a8f2c6a73955e405ef1d9d51e7cdbdeb5e5f0d769f951d6

Contents?: true

Size: 682 Bytes

Versions: 10

Compression:

Stored size: 682 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
backports-3.4.0 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.3.5 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.3.4 spec/tags/1.8.6/core/file/open_spec.rb
backports-3.3.3 tags/1.8.6/core/file/open_spec.rb
backports-3.3.2 tags/1.8.6/core/file/open_spec.rb
backports-3.3.1 tags/1.8.6/core/file/open_spec.rb
backports-3.3.0 tags/1.8.6/core/file/open_spec.rb
backports-3.2.0 tags/1.8.6/core/file/open_spec.rb
backports-3.1.1 tags/1.8.6/core/file/open_spec.rb
backports-3.1.0 tags/1.8.6/core/file/open_spec.rb