File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 946946 end
947947 end
948948
949- context 'when collation has a strength' do
950- let ( :band_collection ) do
949+ context 'when collation has a strength' do
950+ min_server_fcv '3.4'
951+
952+ let ( :band_collection ) do
951953 described_class . new ( database , :bands )
952954 end
953955
956958 band_collection . insert_many ( [ { name : "Depeche Mode" } , { name : "New Order" } ] )
957959 end
958960
959- let ( :options ) do
961+ let ( :options ) do
960962 { collation : { locale : 'en_US' , strength : 2 } }
961963 end
962- let ( :band_result ) do
964+ let ( :band_result ) do
963965 band_collection . find ( { name : 'DEPECHE MODE' } , options )
964966 end
965967
966- it 'finds Capitalize from UPPER CASE' do
968+ it 'finds Capitalize from UPPER CASE' do
967969 expect ( band_result . count_documents ) . to eq ( 1 )
968970 end
969971 end
You can’t perform that action at this time.
0 commit comments