aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-06-18 20:55:01 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-06-18 21:48:25 +0900
commitdd704eb4c346d22ac14dd615159b5f1f7b6393c9 (patch)
treef0dfff877e0d218f41e250800352e61cd99c8802 /spec/ruby
parent1997f43a5476d86ebcac1fbd4f75cef3358dc223 (diff)
downloadruby-dd704eb4c346d22ac14dd615159b5f1f7b6393c9.tar.gz
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
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/library/net-ftp/shared/puttextfile.rb4
1 files changed, 0 insertions, 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 = []