As seen [here]( https://github.com/inspec/inspec-habitat/pull/32/files?file-filters%5B%5D=.rb#diff-512cffe4348b5a4b11f4e06eb9353399L51), mock_inspec_context_object is doing some strange things to make it work; there is probably an easier way. It also looks to be duplicate code.
As seen here, mock_inspec_context_object is doing some strange things to make it work; there is probably an easier way.
It also looks to be duplicate code.