Sha256: 9e682b42b931d35dd5c8b24e1db6eae9c75e84a75a06bfef80a945ef3762ca3c

Contents?: true

Size: 667 Bytes

Versions: 5

Compression:

Stored size: 667 Bytes

Contents

When /^the client successfully requests features$/ do
  @feature_reply = client.raw "FEAT"
end

def feature_regexp(feature)
  /^ #{feature}$/
end

Then /^the response should include feature "(.*?)"$/ do |feature|
  expect(@feature_reply).to match feature_regexp(feature)
end

Then /^the response should not include feature "(.*?)"$/ do |feature|
  expect(@feature_reply).to_not match feature_regexp(feature)
end

Then /^the response should( not)? include TLS features$/ do |neg|
  step %Q'the response should#{neg} include feature "AUTH TLS"'
  step %Q'the response should#{neg} include feature "PBSZ"'
  step %Q'the response should#{neg} include feature "PROT"'
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
ftpd-1.1.1 features/step_definitions/features.rb
ftpd-1.1.0 features/step_definitions/features.rb
investtools-ftpd-1.0.1 features/step_definitions/features.rb
ftpd-1.0.1 features/step_definitions/features.rb
ftpd-1.0.0 features/step_definitions/features.rb