Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dairennlombard
Created April 1, 2015 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dairennlombard/fd921bdb61d1c84f7968 to your computer and use it in GitHub Desktop.
Save dairennlombard/fd921bdb61d1c84f7968 to your computer and use it in GitHub Desktop.
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