Sha256: 42b990c10fc747acb9d1f7b5ec369c53d0ca36ea9f6bbbfb4c72466969e55619

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ftpd-0.0.0.pre2 features/step_definitions/noop.rb
ftpd-0.0.0.pre1 features/step_definitions/noop.rb