inspec/test
Ryan Davis 89a0b44c64 Refactored and moved Resource.create_dsl to ProfileContext.
ProfileContext#to_resources_dsl is the only usage of it.
The responsibility for this code should be on ProfileContext.

Refactored a majority of #create_dsl to be a 2-line long Module.new
instead of 36 lines. Much less magic. Still has an anonymous module
but it is now much easier to address and debug.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-03 14:41:37 -08:00
..
artifact rubocop is on the beat 2019-11-22 12:48:56 -08:00
fixtures These tests don't pass on a network cafe and just hang forever. 2020-02-03 13:18:56 -08:00
functional These tests don't pass on a network cafe and just hang forever. 2020-02-03 13:18:56 -08:00
helpers Merge pull request #4822 from PiQuer/master 2020-01-31 16:41:27 -08:00
integration move find_files inspec policy to kitchen directory 2019-10-16 22:41:03 -07:00
kitchen replaced instances of have_protocols with have_protocol in documentation and examples 2019-12-31 10:51:55 -05:00
unit Refactored and moved Resource.create_dsl to ProfileContext. 2020-02-03 14:41:37 -08:00
helper.rb Set test skip bomb date to end of 2020Q1 2019-12-31 12:19:27 -05:00