From 0d5dd26b17a5c72339116cdd8f76322529c2a4e6 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 21 Apr 2017 11:23:30 +0200 Subject: [PATCH] etc-git: fix specs with correct /etc directory --- etc-git/tests/spec/etc-git_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc-git/tests/spec/etc-git_spec.rb b/etc-git/tests/spec/etc-git_spec.rb index 82a03229..23105e94 100644 --- a/etc-git/tests/spec/etc-git_spec.rb +++ b/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