inspec/test/integration/default/controls/dh_params_spec.rb
Miah Johnson 2a1b1d8e88 Remove all leading newlines.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00

11 lines
301 B
Ruby

if os.windows?
$stderr.puts "\033[1;33mTODO: Not running #{__FILE__} because we are not on Linux.\033[0m"
return
end
describe dh_params('/tmp/example.dh_pem') do
it { should be_dh_params }
it { should be_valid }
its('generator') { should eq 2 }
its('prime_length') { should eq 2048 }
end