Projet

Général

Profil

Révision 3016d428

ID3016d4285d1160410c382e39e206e6dd44b10eb1
Parent 0b2ccdda
Enfant c00bcf2d

Ajouté par canihavethisone il y a 10 mois

Change exec title

Voir les différences:

spec/classes/nftables_spec.rb
131 131
      }
132 132

  
133 133
      it {
134
        expect(subject).not_to contain_exec('nftables_running_state_check')
134
        expect(subject).not_to contain_exec('nftables_memory_state_check')
135 135
      }
136 136

  
137 137
      it {
......
320 320

  
321 321
        it { is_expected.not_to contain_file('/foo/bar') }
322 322
        it {
323
          is_expected.to contain_exec('nftables_running_state_check').with(
323
          is_expected.to contain_exec('nftables_memory_state_check').with(
324 324
            command: %r{^echo "reloading nftables"$},
325 325
            notify: 'Service[nftables]',
326 326
            unless: %r{^/usr/bin/test -s /foo/bar -a "\$\(nft -s list ruleset \| sha1sum\)" = "\$\(cat /foo/bar\)"$}

Formats disponibles : Unified diff