mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Adapt matchers to capybara v3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user