Sha256: a60eb87e668a70a25add1594e279f644bcefc19168f2e28b3c858bde1de4faf6

Contents?: true

Size: 320 Bytes

Versions: 2

Compression:

Stored size: 320 Bytes

Contents

require 'double_bag_ftps'
require 'net/ftp'

When /^the( \w+)? client connects(?: with (\w+) TLS)?$/ do
|client_name, tls_mode|
  tls_mode ||= :off
  client = TestClient.new(:tls => tls_mode.to_sym)
  client.connect(server.host, server.port)
  set_client client_name, client
end

After do
  @client.close if @client
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ftpd-0.5.0 features/step_definitions/connect.rb
ftpd-0.4.0 features/step_definitions/connect.rb