Sha256: a93755795b94130ab60fd68a9fa1ce6e17c15810b31edd074f7ee786c7a26735
Contents?: true
Size: 359 Bytes
Versions: 3
Compression:
Stored size: 359 Bytes
Contents
describe :tempfile_unlink, :shared => true do before :each do @tempfile = Tempfile.new("specs") end after :each do TempfileSpecs.cleanup @tempfile end ruby_bug "", "1.8.6" do it "unlinks self" do @tempfile.close path = @tempfile.path @tempfile.send(@method) File.exists?(path).should be_false end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysl-tempfile-2.0.1 | spec/shared/unlink.rb |
rubysl-tempfile-1.0.0 | spec/shared/unlink.rb |
rubysl-tempfile-2.0.0 | spec/shared/unlink.rb |