Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
allow(Chef::EncryptedDataBagItem).to receive(:load).with('ftpusers', 'virtual_users', 'BdS5t/qLcojBEZXCj2BsxcUbZ11RWB22lNvoTDuNaXo0YBkGT+Xc4jrr8FS1dQGih4lIBtFtE6jkfQCn6lF8k79FvcpyDFTbiNeLB3wiHuvezu8o5xM6Ut3DqZDTk+OzKJiyLBemy2V7wcXRFopfN8r2nXqL8I7JTOEMhcwYO12H9oeMJ3dDZ7X5e/mtUTgjA8pcZIEvA2ezozRZ5Pl1j3cxno05qfqzbLEX1jNVpE2U9SJZG3HAkgngkcBNFgPHrv0ST/cUxIUDWbyR4IkX+lpDPe32BaW/+Wnn3MgBXTQVnvHDICeaxrN19HU2S5qqleUFGGLSrczdINpB77hvB0sjO0JlcU2JcYliQzhXKer1pKQVmRSYBZqR93SDudH/tmUr/RuCZNWem/hy1znCHfZjNb/pj41LBkKA4N9aPkzHQXsJNdm47165MQ0XcQHzaYDBALIAj18w9r7Od36VNvfUnU90woBbUWVC3CEZnipQfi+5HiAW7Hycr84pvE6EzJ82GgIDY+nNZGkyZQJPfccngoBtAwKhwiA26ccK+VcuEJeeP1kyRTbMHiNAbGNzQ1ViKrw5yrrZSVavIXZn0fvGy8up/y1yURXVrQrnqdWziWeMW+Z+HqmFMNwa2rpOY30dyVl4Uc4E6PKpKDIxtcKEFNOx/X0d0+IdLe4PO2k=').and_return('_default' => 'virtual_users',
'logins' => {
'testuser' => { 'pass' => 'testpass' }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.