net-ftp-0.3.6 always return response with put/puttextfile.

* https://github.com/ruby/net-ftp/pull/34
* https://github.com/ruby/net-ftp/issues/36
This commit is contained in:
Hiroshi SHIBATA 2024-06-18 20:55:01 +09:00
parent 1997f43a54
commit dd704eb4c3

View File

@ -34,10 +34,6 @@ describe :net_ftp_puttextfile, shared: true do
remote_lines.should == local_lines.gsub("\n", "\r\n")
end
it "returns nil" do
@ftp.send(@method, @local_fixture_file, "text").should be_nil
end
describe "when passed a block" do
it "yields each transmitted line" do
res = []