Release prep v9.1.0
[puppet-modules/puppetlabs-apt.git] / spec / unit / facter / apt_dist_package_updates_spec.rb
index a27d607bab66c2d53283769c457c12cd8bcfd67c..43e2d7e7d9adfb8c1f0472992d17fd3406aed95d 100644 (file)
@@ -11,7 +11,8 @@ describe 'apt_package_dist_updates fact' do
     before(:each) do
       allow(Facter.fact(:apt_has_dist_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
@@ -28,6 +29,7 @@ describe 'apt_package_dist_updates fact' do
                    "Conf planet.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 dist-upgrade 2>&1').and_return(apt_output)
     end
+
     it { is_expected.to eq(['extremetuxracer', 'planet.rb']) }
   end
 end