diff --git a/site-cookbooks/kosmos_rsk/test/integration/rskj/rskj_test.rb b/site-cookbooks/kosmos_rsk/test/integration/rskj/rskj_test.rb index 990722a..605d734 100644 --- a/site-cookbooks/kosmos_rsk/test/integration/rskj/rskj_test.rb +++ b/site-cookbooks/kosmos_rsk/test/integration/rskj/rskj_test.rb @@ -21,3 +21,10 @@ end describe port(4444) do it { should be_listening } end + +describe parse_config_file('/etc/rsk/node.conf', { + assignment_regex: /^\s*([^=]*?)\s*=\s*(.*?)\s*$/ +}) do + its(['blockchain.config.name']) { should eq '"testnet"' } + its(['database.dir']) { should eq '/var/lib/rsk/database/testnet' } +end