From 780e8aca68fdd120f8c3813fe64f9ae05444f8c3 Mon Sep 17 00:00:00 2001 From: JG Date: Wed, 29 Jun 2022 11:12:07 +0100 Subject: [PATCH] remaining code purged --- spec/features/schemes_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index f9f76095b..d740b2213 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -38,12 +38,12 @@ RSpec.describe "Schemes scheme Features" do context "when I fill in search information and press the search button" do before do - fill_in("search", with: scheme_to_search.code) + fill_in("search", with: scheme_to_search.id_to_display) click_button("Search") end it "displays scheme matching the scheme code" do - expect(page).to have_content(scheme_to_search.code) + expect(page).to have_content(scheme_to_search.id_to_display) end context "when I want to clear results" do @@ -113,12 +113,12 @@ RSpec.describe "Schemes scheme Features" do context "when I fill in search information and press the search button" do before do - fill_in("search", with: scheme_to_search.code) + fill_in("search", with: scheme_to_search.id_to_display) click_button("Search") end it "displays scheme matching the scheme code" do - expect(page).to have_content(scheme_to_search.code) + expect(page).to have_content(scheme_to_search.id_to_display) end context "when I want to clear results" do