|
43 | 43 | ['adv', '--no-tty', '--list-keys', '--with-colons', '--fingerprint', '--fixed-list-mode'],
|
44 | 44 | ).and_return(command_output)
|
45 | 45 | end
|
46 |
| - it 'returns 2 resources' do |
| 46 | + it 'returns 2 resources' do # rubocop:disable RSpec/MultipleExpectations |
47 | 47 | expect(described_class.instances.size).to eq(2)
|
48 | 48 | expect(described_class.instances[0].name).to eq('630239CC130E1A7FD81A27B140976EAF437D05B5')
|
49 | 49 | expect(described_class.instances[0].id).to eq('40976EAF437D05B5')
|
|
88 | 88 | expect(provider).to be_exist
|
89 | 89 | end
|
90 | 90 |
|
91 |
| - it 'apt_key with content set' do |
| 91 | + it 'apt_key with content set' do # rubocop:disable RSpec/MultipleExpectations |
92 | 92 | expect(described_class).to receive(:apt_key).with(array_including('add', kind_of(String)))
|
93 | 93 | resource = Puppet::Type::Apt_key.new(name: 'gsd',
|
94 | 94 | id: 'C105B9DE',
|
|
102 | 102 | expect(provider).to be_exist
|
103 | 103 | end
|
104 | 104 |
|
105 |
| - it 'apt_key with source set' do |
| 105 | + it 'apt_key with source set' do # rubocop:disable RSpec/MultipleExpectations |
106 | 106 | expect(described_class).to receive(:apt_key).with(array_including('add', kind_of(String)))
|
107 | 107 | resource = Puppet::Type::Apt_key.new(name: 'gsd',
|
108 | 108 | id: 'C105B9DE',
|
|
116 | 116 | expect(provider).to be_exist
|
117 | 117 | end
|
118 | 118 |
|
119 |
| - it 'apt_key with source and weak ssl verify set' do |
| 119 | + it 'apt_key with source and weak ssl verify set' do # rubocop:disable RSpec/MultipleExpectations |
120 | 120 | expect(described_class).to receive(:apt_key).with(array_including('add', kind_of(String)))
|
121 | 121 | resource = Puppet::Type::Apt_key.new(name: 'gsd',
|
122 | 122 | id: 'C105B9DE',
|
|
0 commit comments