Skip to content

Commit 3a5cc98

Browse files
Fixes
1 parent a9b60d2 commit 3a5cc98

File tree

3 files changed

+9
-66
lines changed

3 files changed

+9
-66
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -738,17 +738,6 @@ buildvariants:
738738
tasks:
739739
- name: "test"
740740

741-
- matrix_name: "bson-min"
742-
matrix_spec:
743-
driver: [bson-min]
744-
ruby: ["ruby-2.7"]
745-
mongodb-version: "5.0"
746-
topology: "server"
747-
os: ubuntu-20.04
748-
display_name: "${ruby}, ${driver}, ${mongodb-version}, ${topology}"
749-
tasks:
750-
- name: "test"
751-
752741
- matrix_name: "rails-7"
753742
matrix_spec:
754743
ruby: ["ruby-3.3"]
@@ -757,8 +746,7 @@ buildvariants:
757746
topology: "server"
758747
rails: ['7.0', '7.1']
759748
os: ubuntu-22.04
760-
fle: helper
761-
display_name: "${rails}, ${driver}, ${mongodb-version} (FLE ${fle})"
749+
display_name: "${rails}, ${driver}, ${mongodb-version}"
762750
tasks:
763751
- name: "test"
764752

@@ -799,16 +787,3 @@ buildvariants:
799787
display_name: "app tests ${driver}, ${ruby}, ${rails}"
800788
tasks:
801789
- name: "test"
802-
803-
- matrix_name: "auto-encryption"
804-
matrix_spec:
805-
ruby: ruby-3.1
806-
driver: current
807-
topology: replica_set
808-
mongodb-version: ['6.0']
809-
os: ubuntu-22.04
810-
rails: ['7.0']
811-
fle: helper
812-
display_name: "FLE: ${rails}, ${driver}, ${mongodb-version}"
813-
tasks:
814-
- name: "test"

.evergreen/config/variants.yml.erb

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,6 @@ buildvariants:
8787
tasks:
8888
- name: "test"
8989

90-
- matrix_name: "bson-min"
91-
matrix_spec:
92-
driver: [bson-min]
93-
ruby: ["ruby-2.7"]
94-
mongodb-version: "5.0"
95-
topology: "server"
96-
os: ubuntu-20.04
97-
display_name: "${ruby}, ${driver}, ${mongodb-version}, ${topology}"
98-
tasks:
99-
- name: "test"
100-
10190
- matrix_name: "rails-7"
10291
matrix_spec:
10392
ruby: ["ruby-3.3"]
@@ -106,8 +95,7 @@ buildvariants:
10695
topology: "server"
10796
rails: ['7.0', '7.1']
10897
os: ubuntu-22.04
109-
fle: helper
110-
display_name: "${rails}, ${driver}, ${mongodb-version} (FLE ${fle})"
98+
display_name: "${rails}, ${driver}, ${mongodb-version}"
11199
tasks:
112100
- name: "test"
113101

@@ -148,16 +136,3 @@ buildvariants:
148136
display_name: "app tests ${driver}, ${ruby}, ${rails}"
149137
tasks:
150138
- name: "test"
151-
152-
- matrix_name: "auto-encryption"
153-
matrix_spec:
154-
ruby: ruby-3.1
155-
driver: current
156-
topology: replica_set
157-
mongodb-version: ['6.0']
158-
os: ubuntu-22.04
159-
rails: ['7.0']
160-
fle: helper
161-
display_name: "FLE: ${rails}, ${driver}, ${mongodb-version}"
162-
tasks:
163-
- name: "test"

spec/mongoid/serializable_spec.rb

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,11 @@
528528
end
529529

530530
it "includes the first relation" do
531-
expect(relation_hash[0]).to include
532-
{ "_id" => "kudamm", "street" => "Kudamm" }
531+
expect(relation_hash[0]).to include({ "_id" => "kudamm", "street" => "Kudamm" })
533532
end
534533

535534
it "includes the second relation" do
536-
expect(relation_hash[1]).to include
537-
{ "_id" => "tauentzienstr", "street" => "Tauentzienstr" }
535+
expect(relation_hash[1]).to include( "_id" => "tauentzienstr", "street" => "Tauentzienstr" )
538536
end
539537
end
540538

@@ -545,13 +543,11 @@
545543
end
546544

547545
it "includes the first relation" do
548-
expect(relation_hash[0]).to include
549-
{ "_id" => "kudamm", "street" => "Kudamm" }
546+
expect(relation_hash[0]).to include({ "_id" => "kudamm", "street" => "Kudamm" })
550547
end
551548

552549
it "includes the second relation" do
553-
expect(relation_hash[1]).to include
554-
{ "_id" => "tauentzienstr", "street" => "Tauentzienstr" }
550+
expect(relation_hash[1]).to include({ "_id" => "tauentzienstr", "street" => "Tauentzienstr" })
555551
end
556552
end
557553

@@ -670,8 +666,7 @@
670666
end
671667

672668
it "includes the specified relation" do
673-
expect(relation_hash).to include
674-
{ "_id" => "leo-marvin", "first_name" => "Leo", "last_name" => "Marvin" }
669+
expect(relation_hash).to include({ "_id" => "leo-marvin", "first_name" => "Leo", "last_name" => "Marvin" })
675670
end
676671
end
677672

@@ -682,8 +677,7 @@
682677
end
683678

684679
it "includes the specified relation" do
685-
expect(relation_hash).to include
686-
{ "_id" => "leo-marvin", "first_name" => "Leo", "last_name" => "Marvin" }
680+
expect(relation_hash).to include({ "_id" => "leo-marvin", "first_name" => "Leo", "last_name" => "Marvin" })
687681
end
688682
end
689683

@@ -694,8 +688,7 @@
694688
end
695689

696690
it "includes the specified relation sans exceptions" do
697-
expect(relation_hash).to include
698-
{ "first_name" => "Leo", "last_name" => "Marvin" }
691+
expect(relation_hash).to include({ "first_name" => "Leo", "last_name" => "Marvin" })
699692
end
700693
end
701694
end

0 commit comments

Comments
 (0)