Sha256: 27f5c8f71279803f6f43ba9b3b2ceade277b82c1d88c02234e03ad69905f81e7

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

When /^the( \w+)? client successfully does nothing( with a parameter)?$/ do
|client_name, with_param|
  if with_param
    client(client_name).raw 'NOOP', 'foo'
  else
    client(client_name).noop
  end
end

When /^the( \w+)? client does nothing( with a parameter)?$/ do
|client_name, with_param|
  capture_error do
    step "the#{client_name} client successfully does nothing#{with_param}"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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