Make all config values configurable
And use a standard scheme for variable/key naming
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user