Maybe a log resource?

```ruby
log "remove this for your actual cookbook"
```

```
it "has a log message" do
  expect(:chef_run).to write_log("remove this for your actual cookbook").with(level: :info)
end
```