chore: Remove puts in orders_controller_promotion_test.rb

This commit is contained in:
kbe
2025-10-01 08:39:51 +02:00
parent d914ae5c4a
commit 78b675b41d

View File

@@ -36,11 +36,6 @@ class OrdersControllerPromotionTest < ActionDispatch::IntegrationTest
price_cents: 2000 price_cents: 2000
) )
# Debug the ticket creation
puts "Ticket saved: #{ticket.persisted?}"
puts "Ticket errors: #{ticket.errors.full_messages}" unless ticket.valid?
puts "Order tickets count: #{@order.tickets.count}"
# Recalculate the order total # Recalculate the order total
@order.calculate_total! @order.calculate_total!