This isn't a test - you want:


```ruby
expect(template).to notify('service[munin-node]').to(:restart)
```

This whole test should read:

```ruby
expect(chef_run).to create_template('/etc/munin/munin-node.conf').with(
  source: 'munin-node.conf.erb',
  mode: '0644',
)

template = chef_run.template('/etc/munin/munin-node.conf')
expect(template).to notify('service[munin-node]').to(:restart)
```