Sha256: 932858bac15487e70db94596a4d6efabeb6838c4a4b1fcf595ba1884f77f1108

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

require 'net/ftp'
require File.expand_path('../fixtures/server', __FILE__)
require File.expand_path('../shared/puttextfile', __FILE__)
require File.expand_path('../shared/putbinaryfile', __FILE__)

describe "Net::FTP#put (binary mode)" do
  before(:each) do
    @binary_mode = true
  end

  it_behaves_like :net_ftp_putbinaryfile, :put
end

describe "Net::FTP#put (text mode)" do
  before(:each) do
    @binary_mode = false
  end

  it_behaves_like :net_ftp_puttextfile, :put
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysl-net-ftp-2.0.1 spec/put_spec.rb
rubysl-net-ftp-1.0.0 spec/put_spec.rb