Projet

Général

Profil

Révision d7bd6638

IDd7bd6638c4d883a6f4802aceeceac57539041c29
Parent 5a7b1fc1
Enfant 825f4eb1

Ajouté par Tim Skirvin il y a plus d'un an

spec update to confirm that port ranges work

Voir les différences:

spec/type_aliases/nftables_port_spec.rb
5 5
describe 'Nftables::Port' do
6 6
  it { is_expected.to allow_value(53) }
7 7
  it { is_expected.to allow_value([1, 1985, 65_535]) }
8
  it { is_expected.to allow_value([1, '53-55']) }
8 9
  it { is_expected.to allow_value('53-55') }
9 10
  it { is_expected.not_to allow_value('53') }
10 11
  it { is_expected.not_to allow_value([]) }

Formats disponibles : Unified diff