etc-git: fix specs with correct /etc directory

This commit is contained in:
Jérémy Lecour 2017-04-21 11:23:30 +02:00 committed by Jérémy Lecour
parent f5d1867d01
commit 0d5dd26b17
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ describe file('/etc/.git/config') do
it { should be_file }
end
describe command("cd /git && git status --porcelain") do
describe command("cd /etc && git status --porcelain") do
its(:stdout) { should be_empty }
end
describe command("cd /git && git log --oneline") do
describe command("cd /etc && git log --oneline") do
its(:exit_status) { should eq 0 }
end