Created
April 11, 2018 12:26
-
-
Save Atalanta/60038fda7da5198dc7ccc67467710539 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
it "has a timer that does a thing" do | |
inspec.command('su -lc "source /root/.bashrc root"') | |
expect(command("systemctl list-units --type=timer").stdout).to match /run-\d+.timer\s+loaded active waiting.*thing/ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment