Sha256: 5b082d2cda90951950f67ea4dd581eb2b1d30410707fa885619d2c67c2f23330
Contents?: true
Size: 420 Bytes
Versions: 15
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module Chutney # service class to lint for bad scenario names class GivensAfterBackground < Linter def lint return unless background filled_scenarios do |feature, scenario| scenario.steps.each do |step| add_issue(I18n.t('linters.givens_after_background'), feature, scenario, step) if given_word?(step.keyword) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems