Skip to content

Commit 0ff53a5

Browse files
committed
additional rabbitmq configs spec
1 parent fb6c9f0 commit 0ff53a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/default_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@
5656
:mode => 00644)
5757
end
5858

59+
it 'should set additional rabbitmq config' do
60+
node.set['rabbitmq']['additional_rabbit_configs'] = { 'foo' => 'bar' }
61+
expect(chef_run).to render_file('/etc/rabbitmq/rabbitmq.config').with_content('foo, bar')
62+
end
63+
5964
describe 'suse' do
6065
let(:runner) { ChefSpec::ServerRunner.new(SUSE_OPTS) }
6166
let(:node) { runner.node }

0 commit comments

Comments
 (0)