Projet

Général

Profil

Révision 5944b9cb

ID5944b9cb9fd69c4031e138b03f90c9bb7f36ffc5
Parent 2f28cced
Enfant abb04c95

Ajouté par Nacho Barrientos il y a plus de 4 ans

Allow some other types of verdicts

Voir les différences:

spec/defines/simplerule_spec.rb
222 222
          )
223 223
        }
224 224
      end
225

  
226
      describe 'counter and continue sport' do
227
        let(:params) do
228
          {
229
            proto: 'tcp',
230
            sport: 80,
231
            counter: true,
232
            action: 'continue',
233
          }
234
        end
235

  
236
        it { is_expected.to compile }
237
        it {
238
          is_expected.to contain_nftables__rule('default_in-my_default_rule_name').with(
239
            content: 'tcp sport {80} counter continue',
240
          )
241
        }
242
      end
225 243
    end
226 244
  end
227 245
end

Formats disponibles : Unified diff