Sha256: 6958be9d6752bf423ab2cc4a088bb51e95e12c91ec94a85de8d1ee50f8e4cff6

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

Then(/^it should fail with exactly:$/) do |expected|
  # Standardize line endings
  expected = expected.gsub("\n", "\r\n") if RUBY_PLATFORM =~ /mingw32/

  expect(last_command_stopped).not_to be_successfully_executed
  expect(last_command_stopped).to have_output an_output_string_being_eq(expected)
end

Then(/^it should pass with exactly:$/) do |expected|
  # Standardize line endings
  expected = expected.gsub("\n", "\r\n") if RUBY_PLATFORM =~ /mingw32/

  expect(last_command_stopped).to be_successfully_executed
  expect(last_command_stopped).to have_output an_output_string_being_eq(expected)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gherkin_lint-1.2.2 features/support/steps.rb
gherkin_lint-1.2.1 features/support/steps.rb