mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
remove pending from tests
This commit is contained in:
@@ -205,11 +205,8 @@ describe '
|
||||
convert_pdf_to_page
|
||||
end
|
||||
|
||||
it "displays $0.0 when a line item has no tax" do
|
||||
pending "i) for legend see picture on PR #9495"
|
||||
# first line item, no tax
|
||||
expect(page).to have_content "#{Spree::Product.first.name} 1 $0.0 $12.54"
|
||||
expect(page).to have_content "(1g)" # display as
|
||||
it "displays $0.00 when a line item has no tax" do
|
||||
expect(page).to have_content "#{Spree::Product.first.name} (1g) 1 $0.00 $12.54"
|
||||
end
|
||||
|
||||
it "displays the taxes correctly" do
|
||||
@@ -338,16 +335,10 @@ describe '
|
||||
convert_pdf_to_page
|
||||
end
|
||||
it "displays $0.0 when a line item has no tax" do
|
||||
pending "iii) for legend see picture on PR #9495"
|
||||
# first line item, no tax - display $0.0
|
||||
expect(page).to have_content Spree::Product.first.name.to_s
|
||||
expect(page).to have_content "(1g)" # display as
|
||||
expect(page).to have_content "1 $0.0 $12.54"
|
||||
expect(page).to have_content "#{Spree::Product.first.name} (1g) 1 $0.00 $12.54"
|
||||
end
|
||||
|
||||
it "displays the added tax on the GST colum" do
|
||||
pending "closing #7983, iv) for legend see picture on PR #9495"
|
||||
# second line item, added tax of $300.09
|
||||
expect(page).to have_content Spree::Product.second.name.to_s
|
||||
expect(page).to have_content "(1g)" # display as
|
||||
expect(page).to have_content "3 $300.09 $1,500.45"
|
||||
|
||||
Reference in New Issue
Block a user