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