提交 8ed43e74 编写于 作者: D Dylan Griffith 提交者: Mark Chao

Add search_helpers changes from security-33712

上级 fd4d850b
......@@ -20,6 +20,12 @@ module SearchHelpers
end
end
def has_search_scope?(scope)
page.within '.search-filter' do
has_link?(scope)
end
end
def max_limited_count
Gitlab::SearchResults::COUNT_LIMIT_MESSAGE
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册