Skip to content

Commit

Permalink
Recover resource unit test coverage (#104).
Browse files Browse the repository at this point in the history
  • Loading branch information
dallinb committed Sep 11, 2015
1 parent fc4994f commit 9e4bccf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/classes/cassandra_template1_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions spec/classes/cassandra_template2_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9e4bccf

Please sign in to comment.