This can be tested with [minitest-chef's package support](
https://github.com/calavera/minitest-chef-handler/blob/master/examples/spec_examples/files/default/tests/minitest/example_test.rb#L115-L117):

```ruby
it "installs my favorite pager" do
  package("runit").must_be_installed
end
```