X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Funit%2Fpuppet%2Fprovider%2Fapt_key_spec.rb;fp=spec%2Funit%2Fpuppet%2Fprovider%2Fapt_key_spec.rb;h=7b87017810ede129f731ac161cb6ae8dc53829fd;hb=2835b79e6f8e517e51e3f1959be34d1d77b5bc15;hp=ca35ff7d6b10986e28329bf70c41293ba5ec6528;hpb=809beada6f6b148db860f26c848b653078934339;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/unit/puppet/provider/apt_key_spec.rb b/spec/unit/puppet/provider/apt_key_spec.rb index ca35ff7..7b87017 100644 --- a/spec/unit/puppet/provider/apt_key_spec.rb +++ b/spec/unit/puppet/provider/apt_key_spec.rb @@ -15,6 +15,7 @@ describe Puppet::Type.type(:apt_key).provider(:apt_key) do context 'self.instances no key' do before :each do + # Unable to remove `master` from below terminology as it relies on outside code allow(described_class).to receive(:apt_key).with( ['adv', '--no-tty', '--list-keys', '--with-colons', '--fingerprint', '--fixed-list-mode'], ).and_return('uid:-::::1284991450::07BEBE04F4AE4A8E885A761325717D8509D9C1DC::Ubuntu Extras Archive Automatic Signing Key ::::::::::0:')