(CONT-773) Rubocop Auto Fixes 6-10
[puppet-modules/puppetlabs-apt.git] / spec / unit / facter / apt_package_updates_spec.rb
index 69db490dd60afb0fd787de347d0a3b5479ea0895..7960306e00f1f6f1116020690b09f880ccd9a421 100644 (file)
@@ -11,7 +11,8 @@ describe 'apt_package_updates fact' do
     before(:each) do
       allow(Facter.fact(:apt_has_updates)).to receive(:value).and_return(false)
     end
-    it { is_expected.to be nil }
+
+    it { is_expected.to be_nil }
   end
 
   describe 'when apt has updates' do
@@ -26,6 +27,7 @@ describe 'apt_package_updates fact' do
                    "Conf unhide.rb (22-2~bpo8+1 Debian Backports:-backports [all])\n"
       allow(Facter::Core::Execution).to receive(:execute).with('/usr/bin/apt-get -s -o Debug::NoLocking=true upgrade 2>&1').and_return(apt_output)
     end
+
     it { is_expected.to eq(['tzdata', 'unhide.rb']) }
   end
 end