Skip to content

Commit

Permalink
remove assertions before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellani committed Dec 29, 2023
1 parent 63aefd3 commit fcafdd0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/system/admin/orders_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,6 @@ def extract_pdf_content
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"
Expand All @@ -697,10 +695,6 @@ def extract_pdf_content
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"
Expand All @@ -710,8 +704,6 @@ def extract_pdf_content
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"
Expand Down

0 comments on commit fcafdd0

Please sign in to comment.