mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
0e0b808e9b
* enforce utf encoding for cli output * add profile with wrong character set Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
7 lines
No EOL
254 B
Ruby
7 lines
No EOL
254 B
Ruby
control 'char' do
|
|
title "ensure we have the right characterset"
|
|
desc "Ensure we do not freak out with “"
|
|
describe inspec.profile.file('ascii').force_encoding(Encoding::ISO_8859_1) do
|
|
it { should_not match(/conceptually/) }
|
|
end
|
|
end |