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?)
249
249
end
250
250
end
251
251
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
253
253
it 'clones overtop it using force' do
254
254
resource [ :force ] = true
255
255
expect ( Dir ) . to receive ( :chdir ) . with ( '/' ) . once . and_yield
@@ -267,7 +267,7 @@ def branch_a_list(include_branch = nil?)
267
267
end
268
268
end
269
269
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
271
271
it 'raises an exception' do
272
272
expect ( provider ) . to receive ( :path_exists? ) . and_return ( true )
273
273
expect ( provider ) . to receive ( :path_empty? ) . and_return ( false )
You can’t perform that action at this time.
0 commit comments