etc-git: fix specs with correct /etc directory

samba
Jérémy Lecour 6 years ago committed by Jérémy Lecour
parent f5d1867d01
commit 0d5dd26b17
  1. 4
      etc-git/tests/spec/etc-git_spec.rb

@ -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…
Cancel
Save