I'd try (but not blame you if it didn't work):
```ruby
should contain_file('/etc/puppet/puppet.conf').with_source('Concat_ouput[puppet.conf]')
```