etc-git: fix specs with correct /etc directory
parent
f5d1867d01
commit
0d5dd26b17
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue