File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 93
93
}
94
94
end
95
95
96
- it {
97
- expect { subject } . to raise_error ( )
96
+ it {
97
+ should compile . and_raise_error ( /puppet has attribute use_srv_records set but has srv_domain unset/ )
98
98
}
99
99
end
100
100
252
252
}
253
253
end
254
254
255
- it {
256
- expect { subject } . to raise_error ( )
255
+ it {
256
+ should compile . and_raise_error ( /puppet has attribute use_srv_records set but has srv_domain unset/ )
257
257
}
258
258
end
259
259
Original file line number Diff line number Diff line change 64
64
end
65
65
it 'should fail for unsupported os families' do
66
66
expect do
67
- subject
68
- end . to raise_error ( Puppet :: Error , /Unsupported osfamily FreeBSD/ )
67
+ should compile . and_raise_error ( /Unsupported osfamily FreeBSD/ )
68
+ end
69
69
end
70
70
end
71
71
end
You can’t perform that action at this time.
0 commit comments