Lean into delegated types APIs

This commit is contained in:
Jose Farias
2024-10-27 17:39:30 -06:00
parent f782b43ef5
commit 0727414017
9 changed files with 22 additions and 29 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class CommentsControllerTest < ActionDispatch::IntegrationTest
end
test "create" do
assert_difference "bubbles(:logo).comments.count", +1 do
assert_difference "bubbles(:logo).messages.comments.count", +1 do
post bucket_bubble_comments_url(buckets(:writebook), bubbles(:logo), params: { comment: { body: "Agreed." } })
end