From dd704eb4c346d22ac14dd615159b5f1f7b6393c9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Jun 2024 20:55:01 +0900 Subject: [PATCH] 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 --- spec/ruby/library/net-ftp/shared/puttextfile.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/ruby/library/net-ftp/shared/puttextfile.rb b/spec/ruby/library/net-ftp/shared/puttextfile.rb index 4722439674..27d7017d9e 100644 --- a/spec/ruby/library/net-ftp/shared/puttextfile.rb +++ b/spec/ruby/library/net-ftp/shared/puttextfile.rb @@ -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 = []