etc-git: more tests
This commit is contained in:
parent
33314828b1
commit
69d499043e
|
@ -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\""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue