Projet

Général

Profil

Révision b5874974

IDb587497410c4dc966d4988c00572155aa0976378
Parent 6c2f0f10
Enfant bd8993d5

Ajouté par Steve Traylen il y a plus de 3 ans

rubocop - RSpec/RepeatedExampleGroupBody

Voir les différences:

spec/acceptance/all_rules_spec.rb
107 107
      it { is_expected.to be_enabled }
108 108
    end
109 109

  
110
    describe file('/etc/nftables/puppet.nft') do
111
      it { is_expected.to be_file }
112
    end
113

  
114
    describe file('/etc/systemd/system/nftables.service.d/puppet_nft.conf') do
110
    describe file('/etc/nftables/puppet.nft', '/etc/systemd/system/nftables.service.d/puppet_nft.conf') do
115 111
      it { is_expected.to be_file }
116 112
    end
117 113

  
spec/acceptance/default_spec.rb
40 40
      it { is_expected.to be_enabled }
41 41
    end
42 42

  
43
    describe file('/etc/nftables/puppet.nft') do
44
      it { is_expected.to be_file }
45
    end
46

  
47
    describe file('/etc/systemd/system/nftables.service.d/puppet_nft.conf') do
43
    describe file('/etc/nftables/puppet.nft', '/etc/systemd/system/nftables.service.d/puppet_nft.conf') do
48 44
      it { is_expected.to be_file }
49 45
    end
50 46

  

Formats disponibles : Unified diff