Skip to content

Instantly share code, notes, and snippets.

@baurzhan-konurbayev
Created October 29, 2019 14:52
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 baurzhan-konurbayev/ea42da3f9118dd0e470ea0892e7bd509 to your computer and use it in GitHub Desktop.
Save baurzhan-konurbayev/ea42da3f9118dd0e470ea0892e7bd509 to your computer and use it in GitHub Desktop.
# recipe1.rb, which I am writing test for
powershell_script "Check if service needs to be restarted" do
code XXXX
notifies :restart, windows_service[resource_from_other_collection], :delayed
action :run
end
# recipe2.rb, which I am writing test for
windows_service "resource_from_other_collection" do
action :nothing
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment