Sha256: 93402649dcb26a4c8309c997c1e09b9e38d2d77ba32e8d0bec277b10983103d9

Contents?: true

Size: 522 Bytes

Versions: 4

Compression:

Stored size: 522 Bytes

Contents

Given /^the test server is started$/ do
  @server = TestServer.new
  @server.start
end

Given /^the test server is started with(?: (\w+) TLS)?$/ do |mode|
  mode ||= 'explicit'
  @server = TestServer.new
  @server.tls = mode.to_sym
  @server.start
end

Given /^the test server is started with debug$/ do
  @server = TestServer.new
  @server.debug = true
  @server.start
end

Given /^the test server is started without (\w+)$/ do |feature|
  @server = TestServer.new
  @server.send "#{feature}=", false
  @server.start
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ftpd-0.3.2 features/ftp_server/step_definitions/test_server.rb
ftpd-0.3.1 features/ftp_server/step_definitions/test_server.rb
ftpd-0.2.2 features/ftp_server/step_definitions/test_server.rb
ftpd-0.2.1 features/ftp_server/step_definitions/test_server.rb