|
|
|
@ -169,7 +169,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
it "displays check your answers for each log with correct questions" do |
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 3) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 3) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 3) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 3) |
|
|
|
|
expect(page).to have_content("Q15 - Postcode", count: 3) |
|
|
|
@ -187,7 +187,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
|
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 3) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 3) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 3) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 3) |
|
|
|
|
expect(page).to have_content("Postcode (from UPRN)", count: 3) |
|
|
|
@ -215,7 +215,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
it "displays check your answers for each log with correct questions" do |
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 1) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 1) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 1) |
|
|
|
|
expect(page).to have_content("Q15 - Postcode", count: 1) |
|
|
|
@ -241,7 +241,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
it "displays check your answers for each log with correct questions" do |
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 1) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 1) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 1) |
|
|
|
|
expect(page).to have_content("Q15 - Postcode", count: 1) |
|
|
|
@ -379,7 +379,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
it "displays check your answers for each log with correct questions" do |
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 3) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 3) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 3) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 3) |
|
|
|
|
expect(page).to have_content("Q15 - Postcode", count: 3) |
|
|
|
@ -407,7 +407,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
it "displays check your answers for each log with correct questions" do |
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 1) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 1) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 1) |
|
|
|
|
expect(page).to have_content("Q15 - Postcode", count: 1) |
|
|
|
@ -433,7 +433,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
it "displays check your answers for each log with correct questions" do |
|
|
|
|
expect(page).to have_content("Q1 - Sale completion date", count: 1) |
|
|
|
|
expect(page).to have_content("Q2 - Purchaser code", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q20 - Buyer 1’s age", count: 1) |
|
|
|
|
expect(page).to have_content("Q21 - Buyer 1’s gender identity", count: 1) |
|
|
|
|
expect(page).to have_content("Q25 - Buyer 1's working situation", count: 1) |
|
|
|
|
expect(page).to have_content("Q15 - Postcode", count: 1) |
|
|
|
|