File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spec/unit/puppet/provider/vcsrepo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ def branch_a_list(include_branch = nil?)
249249 end
250250 end
251251
252- context 'when with an ensure of mirror - when the path is a working copy repository' do
252+ context 'when the path is a working copy repository' do
253253 it 'clones overtop it using force' do
254254 resource [ :force ] = true
255255 expect ( Dir ) . to receive ( :chdir ) . with ( '/' ) . once . and_yield
@@ -267,7 +267,7 @@ def branch_a_list(include_branch = nil?)
267267 end
268268 end
269269
270- context 'when with an ensure of mirror - when the path is not empty and not a repository' do
270+ context 'when the path is not empty and not a repository' do
271271 it 'raises an exception' do
272272 expect ( provider ) . to receive ( :path_exists? ) . and_return ( true )
273273 expect ( provider ) . to receive ( :path_empty? ) . and_return ( false )
You can’t perform that action at this time.
0 commit comments