Révision 8c00b818
Pull up rule regexp to type aliases
spec/defines/simplerule_spec.rb | ||
---|---|---|
272 | 272 |
) |
273 | 273 |
} |
274 | 274 |
end |
275 |
|
|
276 |
describe 'illegal rule name' do |
|
277 |
let(:title) { 'my_wrongrule-name' } |
|
278 |
|
|
279 |
it { is_expected.to compile.and_raise_error(%r{Error while evaluating a Resource Statement, Nftables::Simplerule}) } |
|
280 |
end |
|
281 | 275 |
end |
282 | 276 |
end |
283 | 277 |
end |
Formats disponibles : Unified diff