Skip to content

Commit 18e6c8a

Browse files
committed
Fix CI
The way we construct the hash changed and the order matter when comparing the JSON serialized data.
1 parent 6bccd7d commit 18e6c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/puppet/provider/mongodb_user/mongodb_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
cmd_json = <<-EOS.gsub(%r{^\s*}, '').gsub(%r{$\n}, '')
5555
{
5656
"createUser":"new_user",
57-
"pwd":"pass",
5857
"customData":{"createdBy":"Puppet Mongodb_user['new_user']"},
5958
"roles":[{"role":"role1","db":"new_database"},{"role":"role2","db":"other_database"}],
59+
"pwd":"pass",
6060
"digestPassword":false
6161
}
6262
EOS

0 commit comments

Comments
 (0)