diff --git a/spec/classes/cassandra_template1_spec.rb b/spec/classes/cassandra_template1_spec.rb index ad07f3f9..de556c74 100644 --- a/spec/classes/cassandra_template1_spec.rb +++ b/spec/classes/cassandra_template1_spec.rb @@ -149,5 +149,9 @@ it { should contain_file('/etc/cassandra.yaml').with_content(/saved_caches_directory: saved_caches_directory/) } it { should contain_file('/etc/cassandra.yaml').with_content(/ - datadir1/) } it { should contain_file('/etc/cassandra.yaml').with_content(/ - datadir2/) } + it { should contain_file('commitlog_directory') } + it { should contain_file('saved_caches_directory') } + it { should contain_file('datadir1') } + it { should contain_file('datadir2') } end end diff --git a/spec/classes/cassandra_template2_spec.rb b/spec/classes/cassandra_template2_spec.rb index 4a6faa35..e91eb8be 100644 --- a/spec/classes/cassandra_template2_spec.rb +++ b/spec/classes/cassandra_template2_spec.rb @@ -165,5 +165,9 @@ it { should contain_file('/etc/cassandra.yaml').with_content(/saved_caches_directory: saved_caches_directory/) } it { should contain_file('/etc/cassandra.yaml').with_content(/ - datadir1/) } it { should contain_file('/etc/cassandra.yaml').with_content(/ - datadir2/) } + it { should contain_file('commitlog_directory') } + it { should contain_file('saved_caches_directory') } + it { should contain_file('datadir1') } + it { should contain_file('datadir2') } end end