From 7f39a1e1d6bc10e8f0626db81a0ab3e8f52a5cd1 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Tue, 7 Dec 2021 17:26:06 +0000 Subject: [PATCH] Removes line break in assertion --- spec/system/consumer/shopping/variant_overrides_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/consumer/shopping/variant_overrides_spec.rb b/spec/system/consumer/shopping/variant_overrides_spec.rb index 366e7d89ae..c6abbcb14e 100644 --- a/spec/system/consumer/shopping/variant_overrides_spec.rb +++ b/spec/system/consumer/shopping/variant_overrides_spec.rb @@ -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