Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
traylenator committed Aug 15, 2022
1 parent 03e8528 commit ab6867c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/classes/mod/proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
let :facts do
os_facts
end

it { is_expected.to contain_file('proxy.conf').with_content(%r{ProxyRequests Off}) }
it { is_expected.to contain_file('proxy.conf').without_content(%r{ProxyTimeout}) }
context 'with parameters set' do
let(:params) do
{ proxy_timeout: 12345 }
{ proxy_timeout: 12_345 }
end

it { is_expected.to contain_file('proxy.conf').with_content(%r{ProxyTimeout 12345}) }
end
end
Expand Down

0 comments on commit ab6867c

Please sign in to comment.