Remove double nesting under bubbles for engagement

This commit is contained in:
Jorge Manrubia
2025-04-07 13:28:18 +02:00
parent 04ea788028
commit e4f7837ebe
3 changed files with 5 additions and 5 deletions
@@ -9,7 +9,7 @@ class Bubbles::EngagementsControllerTest < ActionDispatch::IntegrationTest
bubble = bubbles(:text)
assert_changes -> { bubble.reload.doing? }, from: false, to: true do
post bucket_bubble_engagement_url(bubble.bucket, bubble)
post bubble_engagement_url(bubble)
end
assert_redirected_to bucket_bubble_url(bubble.bucket, bubble)
@@ -19,7 +19,7 @@ class Bubbles::EngagementsControllerTest < ActionDispatch::IntegrationTest
bubble = bubbles(:logo)
assert_changes -> { bubble.reload.doing? }, from: true, to: false do
delete bucket_bubble_engagement_url(bubble.bucket, bubble)
delete bubble_engagement_url(bubble)
end
assert_redirected_to bucket_bubble_url(bubble.bucket, bubble)