Comment on doubt of truthiness

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-01-17 12:49:53 -05:00
parent 6c20f312fd
commit e054be7d0d

View file

@ -180,7 +180,7 @@ describe 'Inspec::Config' do
it 'should read the options' do
expected = ['color', 'reporter', 'target_id', 'type'].sort
seen_fields.must_equal expected
final_options['color'].must_equal "true" # Dubious
final_options['color'].must_equal "true" # Dubious - should this be String or TrueClass?
final_options['target_id'].must_equal 'mynode'
end
end
@ -190,7 +190,7 @@ describe 'Inspec::Config' do
it 'should read the options' do
expected = ['color', 'reporter', 'target_id', 'type'].sort
seen_fields.must_equal expected
final_options['color'].must_equal "true" # Dubious
final_options['color'].must_equal "true" # Dubious - should this be String or TrueClass?
final_options['target_id'].must_equal 'mynode'
end
end