Sha256: b59100154cdd8428ef95dd3a77c011f9649564bd7af58dcd5ea1dd99d80d3ba0

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require 'double_bag_ftps'
require 'net/ftp'

When /^the client connects( with TLS)?$/ do |with_tls|
  @client = TestClient.new(:tls => with_tls)
  @client.connect(@server.host, @server.port)
end

After do
  @client.close if @client
end

Then /^the connection is closed$/ do
  @client.should be_closed
end

Then /^the connection is open$/ do
  @client.should be_open
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ftpd-0.0.0.pre2 features/step_definitions/connect.rb