etc-git: fix specs with correct /etc directory
This commit is contained in:
parent
f5d1867d01
commit
0d5dd26b17
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue