Skip to content

Commit bc9da14

Browse files
RUBY-3216 Fix wildcard projection spec (#2734)
* RUBY-3225 New spec test for timeseries * RUBY-3216 Fix tests for wildcard projection * Tweak spec * Bump constraint
1 parent adda483 commit bc9da14

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

spec/mongo/index/view_spec.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -956,12 +956,11 @@
956956
end
957957
end
958958

959-
context 'on server versions >= 5.0' do
960-
min_server_fcv '5.0'
959+
context 'on server versions > 5.3' do
960+
min_server_fcv '5.4'
961961

962962
it 'passes wildcardProjection correctly' do
963-
skip 'https://jira.mongodb.org/browse/RUBY-3216'
964-
expect(indexes[:wildcardProjection]).to eq({ '_id' => false, 'rating' => true })
963+
expect(indexes[:wildcardProjection]).to eq({ 'rating' => 1 })
965964
end
966965
end
967966
end

0 commit comments

Comments
 (0)