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:
parent
1997f43a54
commit
dd704eb4c3
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user