Sha256: a267f47ea775b56aa29e4f724a691a101a1f6bb1a3e2a114767e515f6b275b9b

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

Then /^the server returns its title$/ do
  step 'the server returns its name'
  step 'the server returns its version'
end

Then /^the server returns its name$/ do
  expect(@response).to include @server.server_name
end

Then /^the server returns its version$/ do
  expect(@response).to match /\b\d+\.\d+\.\d+\b/
end

Version data entries

2 entries across 2 versions & 1 rubygems

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