Skip to content

Commit

Permalink
Fix invoice print specs
Browse files Browse the repository at this point in the history
  • Loading branch information
rioug committed Sep 30, 2024
1 parent 27dfac7 commit ee4f775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/system/admin/invoice_print_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@

context "Line item with variant having variant_unit as 'items'" do
before do
line_item1.variant.update!(variant_unit: "items", display_as: "1 bucket")
line_item1.variant.update!(variant_unit: "items", display_as: "1 bucket",
variant_unit_name: "bucket")
login_as_admin
visit spree.print_admin_order_path(order1, params: url_params)
convert_pdf_to_page
Expand Down

0 comments on commit ee4f775

Please sign in to comment.