diff --git a/spec/views/spree/admin/orders/edit.html.haml_spec.rb b/spec/views/spree/admin/orders/edit.html.haml_spec.rb index 8a8c5b03f8..4394065394 100644 --- a/spec/views/spree/admin/orders/edit.html.haml_spec.rb +++ b/spec/views/spree/admin/orders/edit.html.haml_spec.rb @@ -31,9 +31,9 @@ describe "spree/admin/orders/edit.html.haml" do it "displays order shipping costs, transaction fee and order total" do render - expect(rendered).to have_content("Shipping: UPS Ground $6.00") - expect(rendered).to have_content("Transaction fee: $10.00") - expect(rendered).to have_content("Order Total $36.00") + expect(rendered).to have_content("Shipping Method\nUPS Ground $6.00") + expect(rendered).to have_content("Transaction fee:\n\n$10.00") + expect(rendered).to have_content("Order Total\n$36.00") end end end