Sha256: 024e8791061fd97aa03b72afac3d1e29d86da0e5844be5ab1614962d978d044c
Contents?: true
Size: 969 Bytes
Versions: 3
Compression:
Stored size: 969 Bytes
Contents
def init super sections.push :namespace @namespace = object end def namespace erb(:namespace) end def all_features_by_letter hash = {} objects = features objects = run_verifier(objects) objects.each {|o| (hash[o.value.to_s[0,1].upcase] ||= []) << o } hash end def all_scenarios_by_letter hash = {} objects = scenarios objects = run_verifier(objects) objects.each {|o| (hash[o.value.to_s[0,1].upcase] ||= []) << o } hash end def all_directories_by_letter hash = {} objects = feature_directories objects = run_verifier(objects) objects.each {|o| (hash[o.value.to_s[0,1].upcase] ||= []) << o } hash end def feature_directories @feature_directories ||= Registry.all(:featuredirectory) end def features @features ||= Registry.all(:feature) end def scenarios @scenarios ||= Registry.all(:scenario).reject {|s| s.background? } end def steps @steps ||= Registry.all(:step) end def tags @tags ||= Registry.all(:tag) end
Version data entries
3 entries across 3 versions & 1 rubygems