Test for correct network in RSKj config
This commit is contained in:
parent
ba573798ee
commit
80a7751267
@ -21,3 +21,10 @@ end
|
|||||||
describe port(4444) do
|
describe port(4444) do
|
||||||
it { should be_listening }
|
it { should be_listening }
|
||||||
end
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user