Benign ruby Download

spec/mongoid/errors/no_client_database_spec.rb

References the MongoDB client service port
SHA-256a15912bf3f3be51e0fb9140cc784a57d146684bd41c3f820cb336cd812ff0352
MaleculeH(Db)

Evidence

References the MongoDB client service port lines 1–17
⋯5 lines
6 describe '#message' do
7 let(:error) do
8 described_class.new(:analytics, { hosts: [ '127.0.0.1:27017' ] })
9 end
10
11 it 'contains the problem in the message' do
12 expect(error.message).to include(
13 'No database provided for client configuration: :analytics.'
14 )
15 end
16
17 it 'contains the summary in the message …
English function-word token "that" lines 25–29
25:3… 'If configuring via a mongoid.yml, ensure that within your :analytics'
26 )
27 end
28 end
29end

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.