From 80e59a920e27d6338429047ee512aac95edf6d45 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Thu, 10 Dec 2020 23:01:01 +0000 Subject: [PATCH] Adpat matcher to capybara v3 --- spec/views/spree/shared/_order_details.html.haml_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/views/spree/shared/_order_details.html.haml_spec.rb b/spec/views/spree/shared/_order_details.html.haml_spec.rb index 60e95ac0f6..76777a363f 100644 --- a/spec/views/spree/shared/_order_details.html.haml_spec.rb +++ b/spec/views/spree/shared/_order_details.html.haml_spec.rb @@ -21,7 +21,7 @@ describe "spree/shared/_order_details.html.haml" do render - expect(rendered).to have_content("Paying via: Bartering") + expect(rendered).to have_content("Paying via:\nBartering") end it "displays payment methods safely" do @@ -29,7 +29,7 @@ describe "spree/shared/_order_details.html.haml" do render - expect(rendered).to have_content("Paying via: Barter→ing") + expect(rendered).to have_content("Paying via:\nBarter→ing") end it "shows the last used payment method" do @@ -51,6 +51,6 @@ describe "spree/shared/_order_details.html.haml" do render - expect(rendered).to have_content("Paying via: Credit") + expect(rendered).to have_content("Paying via:\nCredit") end end