From 44d0616f60f8de95a9bd75cce56da8acc2b95654 Mon Sep 17 00:00:00 2001 From: Steven POST Date: Fri, 22 Mar 2024 14:52:49 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! Replace mongo shell with mongosh --- spec/acceptance/user_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/user_spec.rb b/spec/acceptance/user_spec.rb index 982242d35..21c2bf5c0 100644 --- a/spec/acceptance/user_spec.rb +++ b/spec/acceptance/user_spec.rb @@ -47,7 +47,7 @@ class { 'mongodb::server': } it 'auth should fail' do subject { system('mongosh testdb --quiet --eval \'db.auth("testuser","passw0rd")\'') } - expect { subject }.to output('MongoServerError: Authentication failed.').to_stderr + expect { subject }.to eq(1) end end