This commit is contained in:
Adrien Maston
2026-02-19 12:07:08 +01:00
parent 0e1feb0f3f
commit 542777409c
@@ -15,6 +15,10 @@ class SearchesControllerTest < ActionDispatch::IntegrationTest
end
test "search" do
# Search query is blank
get search_path(q: "", script_name: "/#{@account.external_account_id}")
assert @query.nil?
# Searching by card title
get search_path(q: "broken", script_name: "/#{@account.external_account_id}")
assert_select "li .search__title", text: /Layout is broken/