Skip to content

Commit 2bf404c

Browse files
committedMar 21, 2024
Fix acceptance test
1 parent c16c54f commit 2bf404c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎spec/acceptance/server_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)