-
-
Save petecheslock/5f6d34ff05680b2b5ec5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "my_recipe::default" do | |
before(:each) do | |
Chef::EncryptedDataBagItem.stub(:load).with("my_dbag", "credentials").and_return( | |
"password" => "12345", | |
"another_thing" => "12345", | |
"ssh_key" => "my_keyz" | |
) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment