Skip to content

Commit 8fa7088

Browse files
test(spec): fix git version
1 parent a0b1fa9 commit 8fa7088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/unit/puppet/provider/vcsrepo/git_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def branch_a_list(include_branch = nil?)
587587
describe 'skip_hooks' do
588588
before :each do
589589
expect_chdir('/tmp/test')
590+
expect(provider).to receive(:exec_git).with('--version').and_return('1.7.4')
590591
end
591592

592593
context 'when true' do

0 commit comments

Comments
 (0)