Sha256: 76b2bcc1dfc7f6ec3d6b88ac29c0e2ab68d188a0ba2550948337049a46e8c01f

Contents?: true

Size: 265 Bytes

Versions: 21

Compression:

Stored size: 265 Bytes

Contents

Then /^the output should( not)? contain \/(.*)\/$/ do |negated, regexp|
  output = all_commands.map { |c| c.output }.join("\n")
  regexp = Regexp.new(regexp)

  if negated
    expect(output).not_to match(regexp)
  else
    expect(output).to match(regexp)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spreewald-4.6.3 features/support/step_definitions/custom_steps.rb
spreewald-4.6.2 features/support/step_definitions/custom_steps.rb
spreewald-4.6.1 features/support/step_definitions/custom_steps.rb
spreewald-4.6.0 features/support/step_definitions/custom_steps.rb
spreewald-4.5.1 features/support/step_definitions/custom_steps.rb
spreewald-4.5.0 features/support/step_definitions/custom_steps.rb
spreewald-4.4.4 features/support/step_definitions/custom_steps.rb
spreewald-4.4.3 features/support/step_definitions/custom_steps.rb
spreewald-4.4.2 features/support/step_definitions/custom_steps.rb
spreewald-4.4.1 features/support/step_definitions/custom_steps.rb
spreewald-4.4.0 features/support/step_definitions/custom_steps.rb
spreewald-4.3.6 features/support/step_definitions/custom_steps.rb
spreewald-4.3.5 features/support/step_definitions/custom_steps.rb
spreewald-4.3.4 features/support/step_definitions/custom_steps.rb
spreewald-4.3.3 features/support/step_definitions/custom_steps.rb
spreewald-4.3.2 features/support/step_definitions/custom_steps.rb
spreewald-4.2.3 features/support/step_definitions/custom_steps.rb
spreewald-4.2.2 features/support/step_definitions/custom_steps.rb
spreewald-4.1.2 features/support/step_definitions/custom_steps.rb
spreewald-4.1.1 features/support/step_definitions/custom_steps.rb