From 61e1d232a5d21d631ece4e67823c9cbc2958f74c Mon Sep 17 00:00:00 2001 From: Myles Nottingham Date: Tue, 27 Jun 2023 15:36:54 -0600 Subject: [PATCH] Docs: Update consuming_an_api.md to expect "8 Results" Also changes "Locate Members from the House" to "Locate Members of the House" in comment --- module3/lessons/consuming_an_api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module3/lessons/consuming_an_api.md b/module3/lessons/consuming_an_api.md index 337d4b30..9012fe0e 100644 --- a/module3/lessons/consuming_an_api.md +++ b/module3/lessons/consuming_an_api.md @@ -80,11 +80,11 @@ feature "user can search for house members" do select "Colorado", from: :state # And I select "Colorado" from the dropdown click_on "Locate Members of the House" - # And I click on "Locate Members from the House" + # And I click on "Locate Members of the House" expect(current_path).to eq(search_path) # Then my path should be "/search" with "state=CO" in the parameters - expect(page).to have_content("7 Results") - # And I should see a message "7 Results" + expect(page).to have_content("8 Results") + # And I should see a message "8 Results" expect(page).to have_css(".member", count: 8) # And I should see a list of 8 the members of the house for Colorado