diff --git a/spec/unit/puppet/provider/vcsrepo/git_spec.rb b/spec/unit/puppet/provider/vcsrepo/git_spec.rb index 5c5c65c3..3cce3ddf 100644 --- a/spec/unit/puppet/provider/vcsrepo/git_spec.rb +++ b/spec/unit/puppet/provider/vcsrepo/git_spec.rb @@ -742,7 +742,7 @@ def branch_a_list(include_branch = nil?) context 'when with an ensure of present and includes are defined' do let(:sparse_checkout_file) { StringIO.new } - it 'performs a sparse checkout with git >= 2.25.0 when includes are defined' do + it 'performs a sparse checkout with git >= 2.25.0' do resource[:includes] = test_includes expect(Dir).to receive(:chdir).with('/').once.and_yield expect(Dir).to receive(:chdir).with('/tmp/test').at_least(:once).and_yield