Commit c3f547b0 authored by Nathan Ward's avatar Nathan Ward
Browse files

Fix sql validation errors

parent ef9c3f5b
......@@ -99,7 +99,7 @@ describe 'freeradius::sql' do
it do
is_expected.to contain_file('/etc/raddb/mods-available/test')
.with_content(%r{^\s+connect_timeout = 3.0})
.with_content(%r{^\s+connect_timeout = 3.0})
end
context 'with pool_connect_timeout specified' do
......@@ -111,11 +111,13 @@ describe 'freeradius::sql' do
it do
is_expected.to contain_file('/etc/raddb/mods-available/test')
.with_content(%r{^\s+connect_timeout = 5.0})
.with_content(%r{^\s+connect_timeout = 5.0})
end
# it do
# expect(catalogue).to satisfy('contain connect_timeout warning') { |c| c.resource_refs.any? { |r| r =~ %r{^warning_test: The `pool_connect_timeout` parameter requires FreeRADIUS 3.1.x.*In the future/} } }
# expect(catalogue).to satisfy('contain connect_timeout warning') do |c|
# c.resource_refs.any? { |r| r =~ %r{^warning_test: The `pool_connect_timeout` parameter requires FreeRADIUS 3.1.x.*In the future/} }
# end
# end
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment