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