Commit 82299e4
committed
fix unit test categorization
Before this change, tests for 'ensure' values other than 'present' are
nested under 'when with an ensure of present', resulting in:
Puppet::Type::Vcsrepo::ProviderGit
when with an ensure of present
when with an ensure of present - with a revision that is a remote branch
executes 'git clone' and 'git checkout -b'
[...]
when with an ensure of bare - with revision
raises an error
when with an ensure of bare - without revision
justs execute 'git clone --bare'
when with an ensure of bare - without a source
executes 'git init --bare'
when with an ensure of mirror - with revision
raises an error
when with an ensure of mirror - without revision
justs execute 'git clone --mirror'
when with an ensure of mirror - without a source
raises an exeption
when with an ensure of mirror - with multiple remotes
executes 'git clone --mirror' and set all remotes to mirror1 parent 68b8ba5 commit 82299e4
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
| 207 | + | |
205 | 208 | | |
| 209 | + | |
206 | 210 | | |
207 | 211 | | |
208 | 212 | | |
| |||
0 commit comments