Where should I add spec for insert_many for this case? #2430
-
Hello, collection.insert_many((1..100).lazy.map{ |s| { _id: "id_#{s}" } } )
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @midnight-wonderer , thanks for considering this. The test can go into https://github.com/mongodb/mongo-ruby-driver/blob/master/spec/mongo/collection_crud_spec.rb#L351. I also filed https://jira.mongodb.org/browse/RUBY-3087 to track this request. |
Beta Was this translation helpful? Give feedback.
-
RUBY-3087 was delivered in 2.18.2 of the driver :) |
Beta Was this translation helpful? Give feedback.
RUBY-3087 was delivered in 2.18.2 of the driver :)