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