|
346 | 346 | subject |
347 | 347 | }.not_to change { partner1.reload.updated_at } |
348 | 348 |
|
349 | | - expect(page).to have_content("No social media presence must be checked if you have not provided any of Website, Twitter, Facebook, or Instagram.") |
| 349 | + expect(page).to have_content("At least one social media field must be filled out or 'No social media presence' must be checked.") |
350 | 350 | end |
351 | 351 | end |
352 | 352 |
|
|
360 | 360 | subject |
361 | 361 | }.not_to change { partner1.reload.updated_at } |
362 | 362 |
|
363 | | - expect(page).to have_content("No social media presence must be checked if you have not provided any of Website, Twitter, Facebook, or Instagram.") |
| 363 | + expect(page).to have_content("At least one social media field must be filled out or 'No social media presence' must be checked.") |
364 | 364 | end |
365 | 365 |
|
366 | 366 | context "partner's organization one_step_partner_invite is true" do |
|
419 | 419 | expect { |
420 | 420 | subject |
421 | 421 | }.not_to change { partner1.reload.updated_at } |
422 | | - expect(page).to have_content("Missing mandatory fields: agency_type, address1, city, state, zip_code, program_name, program_description, agency_name") |
| 422 | + expect(page).to have_content("Missing mandatory fields: agency_name, agency_type, address1, city, state, zip_code, program_name, program_description") |
423 | 423 | end |
424 | 424 | end |
425 | 425 |
|
|
432 | 432 | expect { |
433 | 433 | subject |
434 | 434 | }.not_to change { partner1.reload.updated_at } |
435 | | - expect(page).to have_content("Missing mandatory fields: agency_type, address1, city, state, zip_code, program_name, program_description, agency_name") |
| 435 | + expect(page).to have_content("Missing mandatory fields: agency_name, agency_type, address1, city, state, zip_code, program_name, program_description") |
436 | 436 | end |
437 | 437 |
|
438 | 438 | context "partner's organization one_step_partner_invite is true" do |
|
0 commit comments