config_cluster => true,
cluster_nodes => ['rabbit1', 'rabbit2'],
cluster_node_type => 'ram',
erlang_cookie => 'TESTCOOKIE',
wipe_db_on_cookie_change => false,
}
config_cluster => true,
cluster_nodes => ['rabbit1', 'rabbit2'],
cluster_node_type => 'ram',
erlang_cookie => 'TESTCOOKIE',
wipe_db_on_cookie_change => false,
}
config_cluster => true,
cluster_nodes => ['rabbit1', 'rabbit2'],
cluster_node_type => 'ram',
erlang_cookie => 'TESTCOOKIE',
wipe_db_on_cookie_change => true,
}
config_cluster => true,
cluster_nodes => ['rabbit1', 'rabbit2'],
cluster_node_type => 'ram',
erlang_cookie => 'TESTCOOKIE',
wipe_db_on_cookie_change => true,
}
- it { should be_file }
- it { should contain 'cluster_nodes' }
- it { should contain 'rabbit@rabbit1' }
- it { should contain 'rabbit@rabbit2' }
- it { should contain 'ram' }
+ it { is_expected.to be_file }
+ it { is_expected.to contain 'cluster_nodes' }
+ it { is_expected.to contain 'rabbit@rabbit1' }
+ it { is_expected.to contain 'rabbit@rabbit2' }
+ it { is_expected.to contain 'ram' }