Sha256: 03427a75d6b70f8ef1aaa2d18f8cf10e31935a71eed1094cd6bb6f55201f01fe
Contents?: true
Size: 1013 Bytes
Versions: 1
Compression:
Stored size: 1013 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).sort {|a,b| a.value.to_s <=> b.value.to_s } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-in-the-yard-1.7.2 | lib/templates/default/requirements/html/setup.rb |