lib/wally/search_features.rb in wally-0.0.33 vs lib/wally/search_features.rb in wally-0.0.34
- old
+ new
@@ -7,10 +7,10 @@
end
def find(query)
searchables = []
- @lists_features.all.each do |feature|
+ @lists_features.features.each do |feature|
feature_text = feature.gherkin["name"]
if feature.gherkin["tags"]
feature_text += " " + feature.gherkin["tags"].map { |tag| tag["name"] }.join(" ")
end
if feature.gherkin["description"]