chore: Remove puts in orders_controller_promotion_test.rb
This commit is contained in:
@@ -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!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user