Commit b760dbc9 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Adapt Ohai package collector test to new data format

parent 72f02b2a
# Cookbook Name:: sys # Cookbook Name:: sys
# Integration tests for recipe sys::ohai # Integration tests for recipe sys::ohai
# #
# Copyright 2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH # Copyright 2021-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
# #
# Authors: # Authors:
# Christopher Huhn <c.huhn@gsi.de> # Christopher Huhn <c.huhn@gsi.de>
...@@ -64,8 +64,10 @@ describe "plugins" do ...@@ -64,8 +64,10 @@ describe "plugins" do
# the base-files package should always be installed: # the base-files package should always be installed:
should include(packages: a_hash_including( should include(packages: a_hash_including(
'base-files' => { 'base-files' => {
version: anything, version: anything,
status: 'install ok installed' status: 'install ok installed',
arch: 'amd64',
src_pkg: 'base-files'
} }
)) ))
end end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment