From 0d16abcb6a71f71b001011cc7c3203f160352357 Mon Sep 17 00:00:00 2001 From: not-a-patch Date: Wed, 18 Jan 2023 11:46:59 +0000 Subject: [PATCH] Include have_current_path into expectations (#1938) --- capybara.md | 1 + 1 file changed, 1 insertion(+) diff --git a/capybara.md b/capybara.md index 7f36939d..8dd49736 100644 --- a/capybara.md +++ b/capybara.md @@ -138,6 +138,7 @@ expect(page).to \ {: .-setup} ```ruby + have_current_path(expected_path) have_selector '.blank-state' have_selector 'h1#hola', text: 'Welcome' have_button 'Save'