|
|
@ -32,7 +32,7 @@ RSpec.describe "Schemes scheme Features" do |
|
|
|
context "when I search for a specific scheme" do |
|
|
|
context "when I search for a specific scheme" do |
|
|
|
it "there is a search bar with a message and search button for schemes" do |
|
|
|
it "there is a search bar with a message and search button for schemes" do |
|
|
|
expect(page).to have_field("search") |
|
|
|
expect(page).to have_field("search") |
|
|
|
expect(page).to have_content("Search by scheme name or code") |
|
|
|
expect(page).to have_content("Search by scheme name, code or postcode") |
|
|
|
expect(page).to have_button("Search") |
|
|
|
expect(page).to have_button("Search") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
@ -105,7 +105,7 @@ RSpec.describe "Schemes scheme Features" do |
|
|
|
context "when I search for a specific scheme" do |
|
|
|
context "when I search for a specific scheme" do |
|
|
|
it "there is a search bar with a message and search button for schemes" do |
|
|
|
it "there is a search bar with a message and search button for schemes" do |
|
|
|
expect(page).to have_field("search") |
|
|
|
expect(page).to have_field("search") |
|
|
|
expect(page).to have_content("Search by scheme name or code") |
|
|
|
expect(page).to have_content("Search by scheme name, code or postcode") |
|
|
|
expect(page).to have_button("Search") |
|
|
|
expect(page).to have_button("Search") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|