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 17
17
eos
18
18
19
19
apply_manifest ( pp , :catch_failures => true ) do |r |
20
- expect ( r . stdout ) . to match ( /fqdn_rand_string is "7oDp0KOr1b"/ )
20
+ expect ( r . stdout ) . to match ( /fqdn_rand_string is "( 7oDp0KOr1b|9Acvnhkt4J) "/ )
21
21
end
22
22
end
23
23
it 'generates random alphanumeric strings with custom charsets' do
29
29
eos
30
30
31
31
apply_manifest ( pp , :catch_failures => true ) do |r |
32
- expect ( r . stdout ) . to match ( /fqdn_rand_string is "7203048515"/ )
32
+ expect ( r . stdout ) . to match ( /fqdn_rand_string is "( 7203048515|2383756694) "/ )
33
33
end
34
34
end
35
35
it 'generates random alphanumeric strings with custom seeds' do
41
41
eos
42
42
43
43
apply_manifest ( pp , :catch_failures => true ) do |r |
44
- expect ( r . stdout ) . to match ( /fqdn_rand_string is "3HS4mbuI3E"/ )
44
+ expect ( r . stdout ) . to match ( /fqdn_rand_string is "( 3HS4mbuI3E|1jJtAMs94d) "/ )
45
45
end
46
46
end
47
47
it 'generates random alphanumeric strings with custom charsets and seeds' do
54
54
eos
55
55
56
56
apply_manifest ( pp , :catch_failures => true ) do |r |
57
- expect ( r . stdout ) . to match ( /fqdn_rand_string is "3104058232"/ )
57
+ expect ( r . stdout ) . to match ( /fqdn_rand_string is "( 3104058232|7100592312) "/ )
58
58
end
59
59
end
60
60
end
You can’t perform that action at this time.
0 commit comments