mirror of
https://github.com/we-promise/sure.git
synced 2026-05-12 15:15:01 +00:00
Tighten category deletion regression test
Agent-Logs-Url: https://github.com/we-promise/sure/sessions/200da7a4-fd59-4ae4-a709-f631ccf21e8c Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
0e85f1d4ea
commit
72efba610f
@@ -13,7 +13,8 @@ class Category::DeletionsControllerTest < ActionDispatch::IntegrationTest
|
||||
get new_category_deletion_url(@category)
|
||||
assert_response :success
|
||||
assert_select "turbo-frame#modal"
|
||||
assert_match(/<div class="grow py-4 space-y-4 flex flex-col ">/, response.body)
|
||||
assert_select "turbo-frame#modal dialog > div > div > div.grow.py-4.space-y-4.flex.flex-col", count: 1
|
||||
assert_select "turbo-frame#modal dialog > div > div > div.overflow-auto", count: 0
|
||||
end
|
||||
|
||||
test "create with replacement" do
|
||||
|
||||
Reference in New Issue
Block a user