Sha256: 4bb4177335c364018a03b85321f9ea0df0c030004471acee4e485fa838f28f2b
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
require 'net/ftp' describe "Net::FTP#resume" do it "returns true when self is set to resume uploads/downloads" do ftp = Net::FTP.new ftp.resume.should be_false ftp.resume = true ftp.resume.should be_true end end describe "Net::FTP#resume=" do it "sets self to resume uploads/downloads when set to true" do ftp = Net::FTP.new ftp.resume = true ftp.resume.should be_true ftp.resume = false ftp.resume.should be_false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysl-net-ftp-2.0.1 | spec/resume_spec.rb |
rubysl-net-ftp-1.0.0 | spec/resume_spec.rb |