support/step_manager.rb in spreewald-4.2.3 vs support/step_manager.rb in spreewald-4.3.2

- old
+ new

@@ -15,10 +15,10 @@ end def steps(search = nil) step_files.collect(&:real_steps).flatten. sort_by { |step| [STEP_KINDS.index(step.kind), step.to_s.downcase] }. - select { |definition| search.nil? or definition.step =~ Regexp.new(search) } + select { |definition| search.nil? || definition.matches_search?(search) } end private def collect_files(directory)