Drop boosts

Killed by design.
This commit is contained in:
David Heinemeier Hansson
2025-04-12 18:52:54 +02:00
parent 1b732c41c7
commit 760cbb6c99
27 changed files with 23 additions and 299 deletions
-7
View File
@@ -13,13 +13,6 @@ class CardMessagesTest < ActionDispatch::IntegrationTest
assert_predicate card.messages.last, :event_summary?
assert_equal "created", card.messages.last.messageable.events.sole.action
# Boost it
post card_boosts_path(card, format: :turbo_stream)
assert_equal 1, card.messages.count
assert_predicate card.messages.last, :event_summary?
assert_equal 2, card.messages.last.event_summary.events.count
assert_equal "boosted", card.messages.last.messageable.events.last.action
# Comment on it
post collection_card_comments_url(collections(:writebook), card), params: { comment: { body: "Agreed." } }
assert_equal 2, card.messages.count