Skip to content

Commit 0b40e06

Browse files
committed
No auth
1 parent 40ff308 commit 0b40e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/server_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class { 'mongodb::client': }
132132
it { is_expected.to contain 'db.auth(\'admin\', \'password\')' }
133133
end
134134

135-
describe command("mongosh admin --username admin --password password --quiet --eval \"load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])\"") do
135+
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 }
137137
its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" }
138138
end

0 commit comments

Comments
 (0)