mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Removes line break in assertion
This commit is contained in:
@@ -92,8 +92,8 @@ describe "shopping with variant overrides defined", js: true do
|
||||
it "calculates fees correctly" do
|
||||
page.find("#variant-#{product1_variant1.id} .graph-button").click
|
||||
byebug
|
||||
expect(page).to have_selector 'li', text: "#{with_currency(55.55)}\nItem cost"
|
||||
expect(page).to have_selector 'li', text: "#{with_currency(5.56)}\nPacking fee"
|
||||
expect(page).to have_selector 'li', text: "#{with_currency(55.55)} Item cost"
|
||||
expect(page).to have_selector 'li', text: "#{with_currency(5.56)} Packing fee"
|
||||
expect(page).to have_selector 'li', text: "= #{with_currency(61.11)}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user