Sha256: 43a45442951f2c3ed45024b6b10915eeae6bb667af573cdbeacb9b9f3771fe1f
Contents?: true
Size: 505 Bytes
Versions: 49
Compression:
Stored size: 505 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) require 'net/ftp' describe "Net::FTP#binary" do it "returns true when self is in binary mode" do ftp = Net::FTP.new ftp.binary.should be_true ftp.binary = false ftp.binary.should be_false end end describe "Net::FTP#binary=" do it "sets self to binary mode when passed true" do ftp = Net::FTP.new ftp.binary = true ftp.binary.should be_true ftp.binary = false ftp.binary.should be_false end end
Version data entries
49 entries across 49 versions & 2 rubygems