Sha256: 42afaf5d675563085f03904a48e665f6fc2f46d66479f8101a1f7bf6a3166277

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

When /^the client successfully queries system ID$/ do
  @reply = client.system
  # Prior to ruby-2.3.0, the #system call returned a string ending in
  # a new-line.
  @reply += "\n" unless @reply =~ /\n$/
end

Then /^the server returns a system ID reply$/ do
  step 'the server returns a "UNIX Type: L8" reply'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ftpd-2.0.1 features/step_definitions/system.rb
ftpd-2.0.0 features/step_definitions/system.rb