etc-git: more tests

This commit is contained in:
Jérémy Lecour 2017-04-19 17:55:45 +02:00 committed by Jérémy Lecour
parent 33314828b1
commit 69d499043e
2 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,6 @@
failed_when: False
register: git_log
check_mode: no
- name: initial commit is present?
shell: "git add -A . && git commit -m \"Initial commit via Ansible\""

View File

@ -11,3 +11,7 @@ end
describe command("cd /git && git status --porcelain") do
its(:stdout) { should be_empty }
end
describe command("cd /git && git log --oneline") do
its(:exit_status) { should eq 0 }
end