Adapt matchers to capybara v3

This commit is contained in:
Luis Ramos
2020-12-10 23:05:15 +00:00
parent 80e59a920e
commit 773f733c8e

View File

@@ -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