(CONT-773) Rubocop Auto Fixes 6-10
[puppet-modules/puppetlabs-apt.git] / spec / unit / facter / apt_updates_spec.rb
index a8eacbf20bcf7e8e937d4e562f2fedc736c78369..4397f766bbd4cd990c593bfad64ef74d558d8f7d 100644 (file)
@@ -11,7 +11,8 @@ describe 'apt_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_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(2) }
   end
 end