|
|
|
|
@ -93,7 +93,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
expect(page).to have_content("Q5 - Tenancy start date", count: 3) |
|
|
|
|
expect(page).to have_content("Q7 - Tenant code", count: 3) |
|
|
|
|
expect(page).to have_content("Q12 - Postcode", count: 1) |
|
|
|
|
expect(page).to have_content("Q11 - UPRN", count: 2) |
|
|
|
|
expect(page).to have_content("Postcode (from UPRN)", count: 2) |
|
|
|
|
expect(page).to have_content("Q32 - Lead tenant’s age", count: 3) |
|
|
|
|
expect(page).to have_content("Q33 - Lead tenant’s gender identity", count: 3) |
|
|
|
|
expect(page).to have_content("Q37 - Lead tenant’s working situation", count: 3) |
|
|
|
|
@ -208,7 +208,7 @@ RSpec.describe DuplicateLogsController, type: :request do
|
|
|
|
|
expect(page).to have_content("Q20 - Lead buyer’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("Q14 - UPRN", count: 3) |
|
|
|
|
expect(page).to have_content("Postcode (from UPRN)", count: 3) |
|
|
|
|
expect(page).to have_link("Change", count: 21) |
|
|
|
|
expect(page).to have_link("Change", href: "/sales-logs/#{sales_log.id}/purchaser-code?first_remaining_duplicate_id=#{duplicate_logs[0].id}&original_log_id=#{sales_log.id}&referrer=duplicate_logs") |
|
|
|
|
expect(page).to have_link("Change", href: "/sales-logs/#{duplicate_logs[0].id}/purchaser-code?first_remaining_duplicate_id=#{sales_log.id}&original_log_id=#{sales_log.id}&referrer=duplicate_logs") |
|
|
|
|
|