Add the FrozenStrings magic comment
[puppet-modules/puppetlabs-apt.git] / spec / unit / puppet / provider / apt_key_spec.rb
index ca35ff7d6b10986e28329bf70c41293ba5ec6528..b89581701410e359c358dc4b0cba956c7a343f12 100644 (file)
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require 'spec_helper'
 
 describe Puppet::Type.type(:apt_key).provider(:apt_key) do
@@ -15,6 +17,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 <ftpmaster@ubuntu.com>::::::::::0:')