File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
describe 'peadm::assert_supported_pe_version' do
6
6
context 'invalid PE versions' do
7
7
it 'rejects PE versions that are too new' do
8
- is_expected . to run . with_params ( '2021.1 .0' ) . and_raise_error ( Puppet ::ParseError , %r{This\ version\ of\ the} )
8
+ is_expected . to run . with_params ( '2035.0 .0' ) . and_raise_error ( Puppet ::ParseError , %r{This\ version\ of\ the} )
9
9
end
10
10
11
11
it 'rejects PE versions that are too old' do
18
18
is_expected . to run . with_params ( '2019.7.0' ) . and_return ( { 'supported' => true } )
19
19
end
20
20
21
- it 'accepts the newest supported version number ' do
22
- is_expected . to run . with_params ( '2021.0.0 ' ) . and_return ( { 'supported' => true } )
21
+ it 'accepts the newest supported version' do
22
+ is_expected . to run . with_params ( '2021.2.1 ' ) . and_return ( { 'supported' => true } )
23
23
end
24
24
25
25
it 'accepts a version in the middle' do
26
- is_expected . to run . with_params ( '2019.8.4 ' ) . and_return ( { 'supported' => true } )
26
+ is_expected . to run . with_params ( '2019.8.7 ' ) . and_return ( { 'supported' => true } )
27
27
end
28
28
end
29
29
end
You can’t perform that action at this time.
0 commit comments