From f582bffbc506d85b8bca9a27dd69b5ec613af509 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Fri, 29 Dec 2023 15:27:34 +0100 Subject: [PATCH] remove assertions before tests --- spec/system/admin/orders_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index b465d3947b..4f5ef06f1f 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -675,8 +675,6 @@ describe ' context "one of the two orders is not invoiceable" do before do order4.cancel! - assert(!order4.invoiceable?) - assert(order5.invoiceable?) end it_behaves_like "should ignore the non invoiceable order" @@ -697,10 +695,6 @@ describe ' order5.distributor.update(abn: "987654321") end context "all the orders are invoiceable (completed/resumed)" do - before do - assert(order4.invoiceable?) - assert(order5.invoiceable?) - end it_behaves_like "can bulk print invoices from 2 orders" context "with legal invoices feature", feature: :invoices do it_behaves_like "can bulk print invoices from 2 orders" @@ -710,8 +704,6 @@ describe ' context "one of the two orders is not invoiceable" do before do order4.cancel! - assert(!order4.invoiceable?) - assert(order5.invoiceable?) end it_behaves_like "should ignore the non invoiceable order"