Sha256: de30e75bf3b4799b7ecf052ab178142bd7dd7f09c323d27da73dda5bb9f9797b
Contents?: true
Size: 245 Bytes
Versions: 135
Compression:
Stored size: 245 Bytes
Contents
describe :dir_closed, :shared => true do it "raises an IOError when called on a closed Dir instance" do lambda { dir = Dir.open DirSpecs.mock_dir dir.close dir.send(@method) {} }.should raise_error(IOError) end end
Version data entries
135 entries across 135 versions & 2 rubygems