Sha256: ce02ca01dce4d8b6fdb2550a04b37849d00c34ea51250d60e58ad2607d5faf9f

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

When /^the client successfully sets mode "(.*?)"$/ do |mode|
  client.raw 'MODE', mode
end

When /^the client sets mode "(.*?)"$/ do |mode|
  capture_error do
    step %Q'the client successfully sets mode "#{mode}"'
  end
end

When /^the client sets mode with no parameter$/ do
  capture_error do
    client.raw 'MODE'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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