Skip to content

Commit 5ba1953

Browse files
committed
fix test names
Neither of these tests set `ensure` to any value.
1 parent 82299e4 commit 5ba1953

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)