class ChefSpec::Coverage::RegexpFilter
add_filter /^test/
@example Match resources based on a regular expression.
def matches?(resource)
def matches?(resource) return true if resource.source_line.nil? @filter =~ resource.source_line end
add_filter /^test/
@example Match resources based on a regular expression.
def matches?(resource) return true if resource.source_line.nil? @filter =~ resource.source_line end