Sha256: 168220940e9313f45537d3866cf5341b3a70aa89af3d5bd691468d0706c031d7

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

Given /^the client is in (passive|active) mode$/ do |mode|
  client.passive = mode == 'passive'
end

Then(/^the server advertises passive IP (\S+)$/) do |ip|
  quads = @reply.scan(/\d+/)[1..4].join(".")
  expect(quads).to eq ip
end

Version data entries

2 entries across 2 versions & 1 rubygems

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