summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-06-23 10:56:01 -0700
committerTim Smith <tsmith84@gmail.com>2020-06-23 10:56:01 -0700
commitf76f527ec11088cd6e54840fecf0ee82227011d0 (patch)
tree7f77e09ce5b89b0178aa8c5875f0a47ad7f11232
parent27d65bc2111c26a1f38d839b3b5aad797259dfa0 (diff)
downloadchef-f76f527ec11088cd6e54840fecf0ee82227011d0.tar.gz
Bring in spec fix from 65b52caf20fe608eaf2a0975ed09539c5ba0d4c4
We don't want / need the whole commit, but we need this Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/provider/package/snap_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/snap_spec.rb b/spec/unit/provider/package/snap_spec.rb
index ac928c73f0..7968f0c699 100644
--- a/spec/unit/provider/package/snap_spec.rb
+++ b/spec/unit/provider/package/snap_spec.rb
@@ -169,7 +169,7 @@ describe Chef::Provider::Package::Snap do
it "does not throw an error if installed version not found" do
provider.load_current_resource
- expect(provider.get_current_versions).to eq([nil])
+ expect(provider.get_current_versions).to eq([])
end
end
end