|
511 | 511 | end
|
512 | 512 |
|
513 | 513 | it "includes the first relation" do
|
514 |
| - expect(relation_hash[0]).to include |
| 514 | + expect(relation_hash[0]).to include( |
515 | 515 | { "_id" => "kudamm", "street" => "Kudamm" }
|
| 516 | + ) |
516 | 517 | end
|
517 | 518 |
|
518 | 519 | it "includes the second relation" do
|
519 |
| - expect(relation_hash[1]).to include |
| 520 | + expect(relation_hash[1]).to include( |
520 | 521 | { "_id" => "tauentzienstr", "street" => "Tauentzienstr" }
|
| 522 | + ) |
521 | 523 | end
|
522 | 524 | end
|
523 | 525 |
|
|
528 | 530 | end
|
529 | 531 |
|
530 | 532 | it "includes the first relation" do
|
531 |
| - expect(relation_hash[0]).to include |
| 533 | + expect(relation_hash[0]).to include( |
532 | 534 | { "_id" => "kudamm", "street" => "Kudamm" }
|
| 535 | + ) |
533 | 536 | end
|
534 | 537 |
|
535 | 538 | it "includes the second relation" do
|
536 |
| - expect(relation_hash[1]).to include |
| 539 | + expect(relation_hash[1]).to include( |
537 | 540 | { "_id" => "tauentzienstr", "street" => "Tauentzienstr" }
|
| 541 | + ) |
538 | 542 | end
|
539 | 543 | end
|
540 | 544 |
|
|
653 | 657 | end
|
654 | 658 |
|
655 | 659 | it "includes the specified relation" do
|
656 |
| - expect(relation_hash).to include |
657 |
| - { "_id" => "leo-marvin", "first_name" => "Leo", "last_name" => "Marvin" } |
| 660 | + expect(relation_hash).to include( |
| 661 | + { "_id" => "Leo-Marvin", "first_name" => "Leo", "last_name" => "Marvin" } |
| 662 | + ) |
658 | 663 | end
|
659 | 664 | end
|
660 | 665 |
|
|
665 | 670 | end
|
666 | 671 |
|
667 | 672 | it "includes the specified relation" do
|
668 |
| - expect(relation_hash).to include |
669 |
| - { "_id" => "leo-marvin", "first_name" => "Leo", "last_name" => "Marvin" } |
| 673 | + expect(relation_hash).to include( |
| 674 | + { "_id" => "Leo-Marvin", "first_name" => "Leo", "last_name" => "Marvin" } |
| 675 | + ) |
670 | 676 | end
|
671 | 677 | end
|
672 | 678 |
|
|
677 | 683 | end
|
678 | 684 |
|
679 | 685 | it "includes the specified relation sans exceptions" do
|
680 |
| - expect(relation_hash).to include |
| 686 | + expect(relation_hash).to include( |
681 | 687 | { "first_name" => "Leo", "last_name" => "Marvin" }
|
| 688 | + ) |
682 | 689 | end
|
683 | 690 | end
|
684 | 691 | end
|
|
0 commit comments