File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class { 'mongodb::client': }
121121 end
122122
123123 describe command ( 'mongosh --quiet --eval "db.serverCmdLineOpts().ok"' ) do
124- its ( :stderr ) { is_expected . to match %r{not authorized } }
124+ its ( :stderr ) { is_expected . to match %r{requires authentication } }
125125 end
126126
127127 describe file ( '/root/.mongoshrc.js' ) do
@@ -134,7 +134,7 @@ class { 'mongodb::client': }
134134
135135 describe command ( "mongosh admin --quiet --eval \" load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])\" " ) do
136136 its ( :exit_status ) { is_expected . to eq 0 }
137- its ( :stdout ) { is_expected . to match "{ \" createdBy\" : \" Puppet Mongodb_user['User admin on db admin']\" }\n " }
137+ its ( :stdout ) { is_expected . to match "{\" createdBy\" : \" Puppet Mongodb_user['User admin on db admin']\" }\n " }
138138 end
139139
140140 describe command ( 'mongod --version' ) do
You can’t perform that action at this time.
0 commit comments