Skip to content

Commit

Permalink
Add renaming products - remove unnecessary lines in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bingerxd authored and andrzejkrzywda committed Aug 31, 2023
1 parent c65e5cc commit de5a433
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rails_application/test/invoices/invoices_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def test_product_name_change_affects_existing_invoices
order_id = SecureRandom.uuid
add_product_to_basket(order_id, product_id)
submit_order(customer_id, order_id)
pay_order(order_id)

update_product_name(product_id, updated_product_name)

Expand All @@ -45,7 +44,6 @@ def test_product_name_change_affects_existing_invoices
new_order_id = SecureRandom.uuid
add_product_to_basket(new_order_id, product_id)
submit_order(customer_id, new_order_id)
pay_order(new_order_id)

assert_invoice_product_name(new_order_id, updated_product_name)
end
Expand Down

0 comments on commit de5a433

Please sign in to comment.