Sha256: 2f51284dc52390aa11a753e4c8cf8a0c618ccc7d642c030537cd291c8d765dca

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/gettextfile', __FILE__)
require File.expand_path('../shared/getbinaryfile', __FILE__)

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

  it_behaves_like :net_ftp_getbinaryfile, :get
end

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

  it_behaves_like :net_ftp_gettextfile, :get
end

Version data entries

2 entries across 2 versions & 1 rubygems

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