Make all config values configurable

And use a standard scheme for variable/key naming
This commit is contained in:
2025-06-01 19:57:04 +04:00
parent 8df7c00a14
commit 5f661d7304
5 changed files with 65 additions and 56 deletions

View File

@@ -18,13 +18,14 @@ end
describe file('/etc/strfry.conf') do
it { should exist }
its('content') { should match(/name\s*=\s*"Test relay"/m) }
end
describe file('/var/lib/strfry') do
it { should be_directory }
end
describe port(7777) do
describe port(7778) do
it { should be_listening }
its('addresses') { should include '0.0.0.0' }
end