Sha256: a2ae9ea161f02a39c4f194ffc96316f9fbb47a716b196fec71885254b8f95d27

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

steps_for :test do
  REQUIRE_TEST = %w[cola pizza].freeze

  #
  # When to run the test:
  #   | cola  |
  #   | pizza |
  #
  step "To run the test:" do |table|
    @tests << table.to_a.flatten
  end

  #
  # When to run the test:
  #   | cola   |
  #   | report |
  # Then The test is insufficient
  #
  step "the test is insufficient" do
    expect(@tests).not_to include(*REQUIRE_TEST)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
table_beet2-0.0.5 spec/fixtures/steps/test_steps.rb
table_beet2-0.0.4 spec/fixtures/steps/test_steps.rb